To install and run locally:
-
Clone the project:
git clone (https://github.com/harjotsbhatia/WorldNews.git)
-
Change directory & Create virtualenv called env:
cd world
python3 -m venv env
-
Activate virtualenv:
- for Windows System:
env/Scripts/activate
- for Linux System:
source ./env/bin/activate
- for Windows System:
-
Install dependencies:
pip install -r requirements/local.txt
-
Migrate & Runserver:
python manage.py migrate
python manage.py runserver
-
Finally open the localhost in the browser:
http://127.0.0.1:8000/