run:
cd SELI-Platform
sudo npm install
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 server, in this way:
{
"private": {
"SMTP_DOMAIN": "smtp.example.com",
"SMTP_PORT": "25",
"SMTP_USER" : "[email protected]",
"SMTP_USER_PASSWORD": "****"
}
}
After right configurations run:
export METEOR_ALLOW_SUPERUSER=true
mup setup
sudo mup start
mup deploy