Instructions d’installation
Installez le serveur de base de données, utilisez la commande suivante pour installer MongoDB
sudo apt-get update; sudo apt install -y mongodb MongoDB will be started automatically once installation is completed.
Une fois, le serveur de base de données est installé, utilisez la commande suivante pour installer NPM
sudo apt-get install npm
Une fois, le serveur de base de données est installé, utilisez la commande suivante pour installer NodeJS
sudo apt-get install nodejs
Ensuite, clonez le dépôt en utilisant la commande suivante
git clone <a href="https://github.com/formio/formio">https://github.com/formio/formio</a>
Une fois le clone terminé, utilisez les commandes suivantes pour exécuter le serveur
cd formio <br></br> sudo npm install<br></br> npm start
Lorsque cela sera fait, vous aurez une application de gestion Form.IO en cours d’exécution à l’adresse suivante dans votre navigateur.
<a href="https://github.com/formio/formio">http://</a>localhost:3001
Félicitations, vous avez avec succès Form.io
Instructions d’installation à l’aide de Docker
Les images docker sont situées sur Docker Hub, pour le retirer vers le bas, exécutez la commande docker suivante.
docker pull formio/formio-enterprise
Créez un réseau Docker pour contenir toutes les instances Docker.
docker network create formio
Créez l’instance Mongo.
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
Démarrez l’instance Formio-Entrise.
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;