A Quora like basic web-app using DJango 2.2
Clone the project
git clone https://github.com/bksun/my-quora-app.git
create and start a a virtual environment
virtualenv env --no-site-packages
source env/bin/activate
Install the python package requirements using pip
.
pip install -r requirements.txt
Run the migrate command to create database tables.
python manage.py migrate
Use the createsuperuser
command to create a user who has superuser privileges.
python manage.py createsuperuser
Finally run the server using the runserver
command.
python manage.py runserver
Linter test using Flake8
flake8 .
Unit tests and Coverage report.
pytest