-
-
Notifications
You must be signed in to change notification settings - Fork 23
Development mode
Alexey Velikiy edited this page Dec 1, 2018
·
6 revisions
You need to start two processes: nodejs and python parts. See Architecture to learn more. Python side connects to node.js side with ZeroMQ. So it is possible to run node.js and python on different (virtual) machines.
We prefer to develop in Visual Studio Code
cd server
npm install
npm run dev
There is a config for that in server/.vscode
for attaching to dev-server.
cd analytics
python3 server.py
It is also possible to run python process from vscode on a different machine. For example, you may want to run python on Windows and connect it to Linux process which runs via WSL.
cd server
npm test
cd analytics
python3 -m unittest discover
discover
flag used to look though all tests in folder.