-
Clone this repo
git clone https://github.com/kill-your-soul/todo.git
-
Create virtual environment
-
For Windows:
python -m venv .venv
-
For Linux, MacOS:
python3 -m venv .venv
-
-
Activate virtual environment
-
For Windows:
.\.venv\Scripts\activate
-
For Linux, MacOS:
source ./.venv/bin/activate
-
-
Install requirements
-
For Windows:
pip install -r requirements.txt
-
For Linux, MacOS:
pip3 install -r requirements.txt
-
-
Setting environment variables
-
For Windows:
-
Powershell:
$env:SECRET_KEY="SECRET_KEY_TO_YOUR_DJANGO_APP";
-
cmd:
set SECRET_KEY=SECRET_KEY_TO_YOUR_DJANGO_APP
-
-
For Linux, MacOS:
-
Bash:
export SECRET_KEY="SECRET_KEY_TO_YOUR_DJANGO_APP"
-
-
-
Run Django server
-
For Windows:
python .\manage.py runserver
-
For Linux, MacOS:
python3 manage.py runserver
-