Diegimo instrukcijos

Įdiekite duomenų bazės serverį, naudokite šią komandą, kad įdiegtumėte „MongoDB“

 sudo apt-get update; sudo apt install -y mongodb   MongoDB will be started automatically once installation is completed.

Įdiegus duomenų bazės serverį, naudokite šią komandą, norėdami įdiegti NPM

 sudo apt-get install npm

Įdiegus duomenų bazės serverį, naudokite šią komandą, norėdami įdiegti „NodeJS“

 sudo apt-get install nodejs

Tada klonuokite repo naudodami šią komandą

 git clone <a href="https://github.com/formio/formio">https://github.com/formio/formio</a>

Baigę kloną, naudokite šias komandas, kad paleistumėte serverį

 cd formio <br></br> sudo npm install<br></br> npm start 

Kai tai bus padaryta, turėsite veikimo formą.IO valdymo programa, veikiančia tokiu adresu savo naršyklėje.

 <a href="https://github.com/formio/formio">http://</a>localhost:3001

Sveikiname, kad sėkmingai turite formą.io

Diegimo instrukcijos naudojant „Docker“

„Docker“ vaizdai yra „Docker Hub“, kad jį nustumtų, paleis šią „Docker“ komandą.

docker pull formio/formio-enterprise

Sukurkite „Docker“ tinklą, kuriame būtų visi „Docker“ egzemplioriai.

docker network create formio

Sukurkite mongo egzempliorių.

mkdir ~/opt/mongodb
# Double check permissions on /opt/mongodb
docker run -itd  \
  --name formio-mongo \
  --network formio \
  --volume ~/opt/mongodb:/data/db \
  --restart unless-stopped \
  mongo

Pradėkite „Formio-Enterprise“ egzempliorių.

docker run -itd \
  -e "ADMIN_EMAIL=<span id="cloakd599c59a1669d71b635ca8704350f38c">This email address is being protected from spambots. You need JavaScript enabled to view it.</span><script type="text/javascript">document.getElementById('cloakd599c59a1669d71b635ca8704350f38c').innerHTML='';var prefix='&#109;a'+'i&#108;'+'&#116;o';var path='hr'+'ef'+'=';var addyd599c59a1669d71b635ca8704350f38c='&#97;dm&#105;n'+'&#64;';addyd599c59a1669d71b635ca8704350f38c=addyd599c59a1669d71b635ca8704350f38c+'&#101;x&#97;mpl&#101;'+'&#46;'+'c&#111;m';var addy_textd599c59a1669d71b635ca8704350f38c='&#97;dm&#105;n'+'&#64;'+'&#101;x&#97;mpl&#101;'+'&#46;'+'c&#111;m';document.getElementById('cloakd599c59a1669d71b635ca8704350f38c').innerHTML+='<a '+path+'\''+prefix+':'+addyd599c59a1669d71b635ca8704350f38c+'\'>'+addy_textd599c59a1669d71b635ca8704350f38c+'<\/a>';</script>" \
  -e "ADMIN_PASS=CHANGEME" \
  -e "PRIMARY=true" \
  -e "LICENSE=YOURLICENSE" \
  -e "PORTAL_SECRET=CHANGEME" \
  -e "JWT_SECRET=CHANGEME" \
  -e "DB_SECRET=CHANGEME" \
  --restart unless-stopped \
  --name formio-server \
  --network formio \
  --link formio-mongo:mongo \
  --restart unless-stopped \
  -p 3000:80 \
  formio/formio-enterprise;
 Latviski