Set the following environment variables in your .env
file:
BASEURL
: The base URL of your application (e.g.,https://signbank.example.com
)- Other variables as specified in schema.env file
The Nginx configuration is located in the nginx/
directory. To update the configuration:
- Edit the
nginx/nginx.conf
file, for test, local or production - Update the
server_name
directive to match your domain - Restart the Nginx container:
docker-compose restart nginx
To start the project locally:
docker-compose -f docker-compose-local.yaml build
docker-compose -f docker-compose-local.yaml up
To deploy the project in test mode:
docker-compose -f docker-compose-test.yaml build
docker-compose -f docker-compose-test.yaml up
To seed the database with initial data:
- Navigate to the MongoDB folder:
cd mongoDB
- Install dependencies and run the seed script:
npm install
npm run seed
Or if you don't have npm, you can execute this command from inside mongoDB container
Then restart backend container to sync all words into typesense
To deploy the project in production mode:
docker-compose -f docker-compose-production.yaml build
docker-compose -f docker-compose-production.yaml up
frontend/
- The web client applicationbackend/
- API servermongoDB/
- Database configuration and seed scriptsnginx/
- Nginx configuration for serving the applicationFileServer/
- Server for file storagetypesense/
- Search engine configurationcertbot/
- SSL certificate management