Install in your machine NODE JS (version upper than 12.16.1) and METEOR (version 1.12).
run:
cd SELI-Platform
npm install
npm install --global mup
mkdir .deploy
cd .deploy
mup init
In "mup.js" file:
- Configurations can be found in: http://meteor-up.com/docs.html
- If node version gives problems. For meteor v1.8.1, use abernix/meteor:node-8.15.1-base.
Visit https://www.sslforfree.com/ for free certificate.
- Use "public" folder to store files generated in the link above.
- Store generated certificates in ".deploy" folder and configure ssl code lines in "mup.js" file.
In ".deploy/settings.json" fill the variables according with the parameters of your mail, metabase and blockchain server (if you have not configured those servers, just simply left the variables like the example below), in this way:
{
"private": {
"SMTP_DOMAIN": "smtp.example.com",
"SMTP_PORT": "25",
"SMTP_USER" : "smtp.user@example.com",
"SMTP_USER_PASSWORD": "****"
},
"public": {
"METABASE_DOMAIN": "https://metabase.example.com",
"METABASE_KEY": "******************************************************",
"BLOCKCHAIN_DOMAIN": "https://blockchain.example.com",
"BLOCKCHAIN_USERKEY": "********************************",
"URL_SITE": "https://seli.example.com/"
}
}
One step before deployment is to create the directory /opt/Seli/UploadFiles in the root directory of your operating system and give to it permissions to read, write and delete. Finally after right configurations, in .deploy folder run:
mup setup
mup deploy
If you desire to keep developing the platform (it is not mandatory to create mup.js or ssl, it only needs to create settings.json and not even modify it), do not deploy and run the following line in "SELIProject/SELI-Platform/" folder:
meteor --settings .deploy/settings.json