- Make sure you have Node.js v16 or newer installed.
- Make sure you have Boostr v2 installed. Boostr is used to manage the development environment.
- If you want to deploy your app to AWS, make sure you have AWS CLI installed and some AWS credentials adequately set up.
Install all the npm dependencies with the following command:
boostr install
In the backend
and database
directories, duplicate the boostr.config.private-example.mjs
files, name them boostr.config.private.mjs
, and modify them to set all the required private environment variables.
Migrate the development database with the following command:
boostr database migrate
Start the development environment with the following command:
boostr start
The web app should be available at http://localhost:19091.
Migrate the staging database with the following command:
boostr database migrate --staging
Deploy the app to your staging environment with the following command:
boostr deploy --staging
The web app should be available at https://staging.example.com/.
Migrate the production database with the following command:
boostr database migrate --production
Deploy the app to production with the following command:
boostr deploy --production
The web app should be available at https://example.com/.