Your one-stop solution for all you restaurant management.
- Clone the repository
- Create .env file:
NOTE: Please make sure that DATABASE_NAME is set as 'druling' when running django app locally.
cp .env.example .env
- Install the required dependencies:
pip install -r requirements.txt
- Run migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
- Run test cases
python manage.py test
- Run this command
pre-commit install
- Enable Auto-Save:
- Go to Preferences > Appearance & Behavior > System Settings.
- Enable "Save files automatically if application is idle".
This will save files automatically when you're not typing, triggering the File Watchers if configured.
pip freeze > requirements.txt
python manage.py makemigrations
NOTE: Just make sure your requirements.txt and .env file is up-to-date.
-
This will build all the services together
docker compose build -
This will build/re-build single service at a time
docker compose --build web -
Running the containers
docker compose up -d -
Stop the containers
docker compose stop -
Stop and delete the containers along with their networks and temporary volumes.
docker compose down
We use localstack for AWS S3 while testing it is part of docker compose file.
To setup mail templates, you need to run the following command:
python manage.py setup_email_templates