To start this project, first create virtualenv using python3. You need to have venv module installed. Example command:
python3 -m venv env
To activate your local environment use this command (Windows):
env\Scripts\activate.bat
Now you can install all the requiremenets for the project. This should work:
python3 -m pip install -r requirements.txt
To run the website do as follows:
- Activate your local environment (if it is not activated already):
env\Scripts\activate.bat
- Apply migrations:
python3 manage.py migrate
- Create superuser:
python3 manage.py createsuperuser
- Run the server:
python3 manage.py runserver
By default, your website should be hosted at: http://127.0.0.1:8000/. Use login provided when creating superuser.
If you want to exit local environment, then just put:
deactivate