Steps for project to work:
-
Check Python 3 version
a. $ python3 --version
-
Install pip
$ python3 -m pip --version
$ pip 9.0.1 from c:\python36\lib\site-packages (python 3.6.1)
$ python3 -m pip install --user --upgrade pip
-
Create Virtual Environment
$ python3 -m pip install --user virtualenv
-
Clone Repository:
$ git clone https://github.com/parthchat99/hackkernewsUrb.git
-
Install dependencies:
$ pip install requirements.txt
-
Start Django server:
$ cd hackernewsAPI
$ python manage.py makemigrations
$ python manage.py migrate
$python manage.py runserver
-
Start Angular server:
$ cd hackernersFrontend
$ npm install
$ ng serve