Installation Instructions
Install database Server, use the following command to install MongoDB
sudo apt-get update; sudo apt install -y mongodb MongoDB will be started automatically once installation is completed.
Once, the database server is installed, use the following command to install npm
sudo apt-get install npm
Once, the database server is installed, use the following command to install Nodejs
sudo apt-get install nodejs
Next, clone the repo using following command
git clone <a href="https://github.com/formio/formio">https://github.com/formio/formio</a>
After clone is completed, use the following commands to run the server
cd formio <br></br> sudo npm install<br></br> npm start
When it is done, you will have a running Form.io management application running at the following address in your browser.
<a href="https://github.com/formio/formio">http://</a>localhost:3001
Congrats You have successfullysetup Form.io
Installation Instructions using Docker
Docker images are located on docker hub, To pull it down, run the following docker command.
docker pull formio/formio-enterprise
Create a docker network to contain all the docker instances.
docker network create formio
Create the Mongo instance.
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
Start the formio-enterprise instance.
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='ma'+'il'+'to';var path='hr'+'ef'+'=';var addyd599c59a1669d71b635ca8704350f38c='admin'+'@';addyd599c59a1669d71b635ca8704350f38c=addyd599c59a1669d71b635ca8704350f38c+'example'+'.'+'com';var addy_textd599c59a1669d71b635ca8704350f38c='admin'+'@'+'example'+'.'+'com';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;