Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.27 KB

readme.md

File metadata and controls

29 lines (26 loc) · 1.27 KB

This is a demo Dhango project, showing some of my coding capabilities If you want to see the project in action, you can visit the link: https://demodjangotask-lucioric2000.replit.app/

Installation:

To set up this package, you may use the conda packages manager (https://www.anaconda.com/), to create a virtual environment for the project, with the commands:

python -mvenv venv
source ./venv/bin/activate (on Linux) or & ./venv/Scripts/activate (on Windows)
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
python manage.py runserver 127.0.0.1:8000

Execution:

If the conda virtual environment is not activated, you should activate it with the command: source ./venv/bin/activate (on Linux) or & ./venv/Scripts/activate on Windows Then spin up the web server with the command: python manage.py runserver 127.0.0.1:8000

Developing:

for developing you should install the developing dependencies in the virtual environment, like: source ./venv/bin/activate (on Linux) or & ./venv/Scripts/activate on Windows pip install -r requirements.txt pip install -r requirements_dev.txt Then, you do the required changes or addition. After finishing, before committing, execute: flake8; isort .; black . y