Open make-github-pseudonymous-again opened 4 months ago
From https://forums.meteor.com/t/all-configured-authentication-methods-failed-in-mup/58728/3:
To build and deploy you do the following:
Build your app: meteor build ../build --architecture os.linux.x86_64 Deploy it: scp ../build/app.tar.gz user@server:~/ (Optional Backup to instant rollback): sudo cp -R bundle bundle-backup/ Unpack it on server: tar -zxf app.tar.gz cd into bundle directory and run install: (cd programs/server && npm install) Run: node main.js (do this inside a screen and dettach ctrl+a d it so it runs in the background with screen and doesn’t close)
Important: For first time configuration, you just tell nginx to run localhost:your-port as the upstream and export shell variables:
export MONGO_URL='mongodb://user:password@host:port/databasename'
export ROOT_URL='http://example.com'
export MAIL_URL='smtp://user:password@mailhost:port/'
mup
is currently the only automated way to deploypatients
.mup
is coupled to Meteor and we want to get rid of Meteor. A solution based ondocker-compose
should be sufficient.