SQLITE is used for dev, Postgres can be used in production.
-
Clone the repo: git clone <https://github.com/Ahmed-Abdelgawad-Dev/Delivery-CRM.git>
-
Use a virtual environment that you prefere.Could be pipenv | venv | conda. in DELIVERY-CRM folder.
-
activate your choice virtual environment(UNIX)
source ./venv/bin/activate
- Install the required packages for the project.
pip install -r requirements.txt
- Go to src folder
- create a user if needed or use (usr:admin - pwd:admin)
python manage.py createsuperuser
- run the project
python manage.py runserver
- Generate a secret key for Django if required
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
- Or use this one in your .env file
SECRET_KEY = django-insecure-_&i)q$(7i%n8pey!au00z(x-nl-to52=u42a#q!xocp)-xfj0s
- There is still much to customize in the UI.