-
Clone the repository:
git clone https://github.com/Matithieu/boilerplate-production-app.git
-
Configure the environment variables: Copy the file
template.env
to.env
and modify the values as needed. -
Install the dependencies for end-to-end tests:
cd e2e pnpm install
To start the services in development mode:
./devcli.sh start dev
To start the services in production mode:
./devcli.sh start prod
-
Stop the services:
./devcli.sh stop {dev|prod}
-
Install repositories or update them:
./devcli.sh install
-
Remove Docker volumes:
./devcli.sh remove_volumes {dev|prod}
-
Create an environment on all repositories:
./devcli.sh create_env
-
Initialize certificates for production mode (Modify Nginx and DNS server config):
./devcli.sh init
-
Generate certificates (for development mode):
./devcli.sh generate_certificates
-
Reload a service:
./devcli.sh reload {dev|prod} {service_name}
The Nginx configuration file is located at config/nginx/setup.conf
.
The configurations for end-to-end tests are located at e2e/src/config/env.config.ts
.
Contributions are welcome. Please submit a pull request for any changes.
This project is licensed under .