Staging app: Staging demo
Documentation: Technical Documentation
make run-dependencies
# Django app
docker-compose -f docker-compose.dev.yml run --rm django make serve
docker-compose -f docker-compose.dev.yml run --rm django make migrate
docker-compose -f docker-compose.dev.yml run --rm django make migrations
# Vite app on the static
docker-compose -f docker-compose.dev.yml run --rm npm make vite-host
docker-compose -f docker-compose.dev.yml run --rm --service-ports make vite-host
#
docker-compose -f docker-compose.dev.yml run --rm npm make npm-install
docker-compose -f docker-compose.dev.yml run --rm npm make npm-build
virtualenv .venv
source ./.venv/bin/activate
install Poetry with:
pip install poetry
Create .env
file by copying the sample file and update the values.
cp .env.sample .env
Make sure to 'make' installed for your machine.
make install # to install python package
make npm-install # to install npm packges inside static folder
make migrate
# Adds default db data
make seed # migrate_mongodb.py and load_activities
Run Django development server
make serve
make serve env=local
make serve env=production
Run the vite developement server
make vite
make lint