Live: Demo or Second Demo
Used Tech Stack
- Django
- Sqlite
-
Create a virtual environment
virtualenv venv
Or
python3.11 -m venv venv
-
Activate it
source venv/bin/activate
-
Clone the repository and install the packages in the virtual env:
pip install -r requirements.txt
-
Add
.env
file.cp .env.dev.sample .env
-
Add Github client ID and client secret in the
.env
file
-
With the venv activate it, execute:
python manage.py collectstatic
Note : Collect static is not necessary when debug is True (in dev mode)
-
Create initial database:
python manage.py migrate
-
Load demo data (optional):
python manage.py loaddata fixtures/app_name_initial_data.json --app app.model_name
-
Run server:
python manage.py runserver
-
Default django admin credentials:
email: admin@admin.com
password: admin
python manage.py test
python manage.py dumpdata --format=json --indent 4 app_name > app_name/fixtures/app_name_initial_data.json
Show your support by 🌟 the project!!