Steps are written below:
- First of all, create a env with `python -m venv env`
- Then activate the env with `source env/bin/activate` (in linux) or
`.\venv\Scripts\activate` in windows
- Then install the requiremets with `pip install -r requirements.txt`
- and then check core or project folder where settings.py located see if db info is correct or make it sqlite for development
- then run `python3 manage.py makemigrations`
- `python3 mangae.py migrate`
- `python3 manage.py runserver`
Comments
Post a Comment