BugTracker solves the problem of testing by managing many applications and associated bugs in an organized way with regular updates in status during different testing stages.
-
Prerequisites:
- Python 3
- pip
- MySql
- Docker
-
Setup a virtual environment:
python3 -m venv bug_tracker_env
-
Activate the virtual environment:
source bug_tracker_env/bin/activate
-
Create a MySql database named BugTracker.
-
Run the following command to install all the required dependencies:
pip install -r requirements.txt
-
Inside folder /imgsummer2020/imgsummer2020 create a file .env and store the following credentials inside it:
SECRET_KEY=your-secret-key DB_USER=username DB_PASSWORD=password EMAIL_USER=hostuseremail EMAIL_PASSWORD=hostuserpassword CLIENT_ID=clientidofapplication CLIENT_SECRET=clientsecretofapplication
NOTE: Take a look at .env.example for the format of .env file
-
Navigate back to the base directory for the app where manage.py file is located and make the database migrations using following command:
python manage.py migrate
-
Start a Redis server on port 6379 using the following command:
docker run -p 6379:6379 -d redis:5
-
Start the backend server:
python mange.py runserver