Link: Repository of University of Ljubljana
- NodeJS
- Python3
- Docker
- run npm install inside project directory
- move to python_api directory
- it is recommended to use virtual environment (e.g. run
python3 -m venv <name_of_env>) - if using virtual env. run
source <name_of_env>/bin/activateto activate virtual environment - run
pip install -r requirements.txt
- move to client directory
- run
npm install - run
npm run build
- in first terminal window run
docker-compose up - in second window run
rq workerinside your python virtual environment in python_api folder - in third terminal window run
python __init__.pyinside your python virtual environment in python_api folder - in fourth terminal window run
npm run devinside project's root directory - Python API is running on port 8888, NodeJS application is running on port 4000
- in web browser type http://localhost:4000/ and you should see the application
- in first terminal window run
docker-compose up - in second window run
rq workerinside your python virtual environment in python_api folder - in third terminal window run
python __init__.pyinside your python virtual environment in python_api folder - in fourth terminal window run
npm run devinside project's root directory - in fifth terminal window run
npm startinside client directory - Python API is running on port 8888, NodeJS application is running on port 4000
- in web browser type http://localhost:3000/ and you should see the application
On macOS running rq worker caused some problems with fork operation. This is solved by typing export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES in terminal window where running rq worker