Requirements:
- Python 3.6 or higher (Refer to this link to download and install Python: https://www.python.org/downloads/)
- Pip (Python package manager) usually gets installed along with python. If pip is not installed on your machine then follow the instructions in this link to install pip: https://www.makeuseof.com/tag/install-pip-for-python/
- Clone the repository.
- Navigate to the repository folder in your file system.
pip install virtualenv
- Create virtual environment if required:
virtualenv venv
- Activate virtual environment:
source venv/bin/activate
In windows:venv\Scripts\activate
- Run the following command :
pip install -r requirements.txt
- Create superuser by running following command:
python manage.py migrate
python manage.py createsuperuser
Follow on screen instructions to create superuser by giving username and password.
- Run the python server :
python manage.py runserver 0.0.0.0:8000
- Run the gunicorn server
gunicorn covid_vis.wsgi --bind 0.0.0.0:8000
covid_vis
this is just for check up