Prerequisite:
- NodeJS
- Python 3
- pip
update npm
$ npm install npm@latest -g
Install virtual env && Activate environment
$ sudo pip install virtualenv
$ virtualenv env
$ source env/bin/activate
install python package
$ pip install -r requirements.txt
migrate
$ cd stock
$ python manage.py makemigrations stock_api
$ python manage.py migrate
setup frond end
install dependencies for react
$ cd frontend
$ npm i
$ cd frontend
$ webpack
back to stock run the program
$ python manage.py runserver