Deploying
If using the ent-starter repository, here are the following things that need to be done to deploy:
- add
DB_CONNECTION_STRING
environment variable pointing to the database connection string - add
PORT
environment variable with value80
Deploy to a Docker environment with the Dockerfile
in the ent-starter repository as the Dockerfile used.
That installs dependencies, compiles, upgrades the database and starts the Node server.
As your application gets more complicated, modify as needed to suit your needs.