-
Create virtual env using
venv
orpipfile
python3 -m venv venv
source venv/bin/activate
(for ubuntu/Mac)venv\Scripts\activate
(for Windows)
-
Default DB used in sqlite3, If you want to use MySQL, uncomment the code from settings and update the required credentials.
-
Run migrations if using a new DB, or using MySQL.
- To run tests, run following command:
python3 manage.py test tests/
python3 manage.py runserver
- Check readme.txt for more details