-
Notifications
You must be signed in to change notification settings - Fork 536
Setup in different server
Talysson de Oliveira Cassiano edited this page Mar 29, 2017
·
1 revision
The process of deploying an app built with this boilerplate in a different service is pretty similar to the one with Heroku.
On your deploy script, you just need to make the service run npm start
to start the server and run NODE_ENV=production NODE_PATH=. sequelize db:migrate --url=$DATABASE_URL
to run the migrations after the build, where $DATABASE_URL
is the environment variable with the URL for the database.
Here are the links for some services documentation of how to setup the commands to run a Node application: