Source code for the DJ Checkup website
- Clone the repository
- Create the virtual environment
- Pip install the requirements
- Create the .env file from the env.template (optional)
- Run the migrations
python manage.py migrate- If creating a new database, create the super user
python manage.py createsuperuser- Create the staticfiles folder
mkdir staticfiles- Run the Collectstatic command
python manage.py collectstatic- Run the server to get the website up
python manage.py runserver- To submit URLS to be checked, you need a Redis server. Configure one in the .env file, or just run a local Redis Docker container for testing:
docker run --name local-redis -d redis- Then run the Django-RQ worker in a second terminal window (make sure the same virtual environment is activated in the new window):
python manage.py rqworker checks