-
Install Node.js: https://nodejs.org/en/
Select Add to PATH when it asked. -
Install vscode: https://code.visualstudio.com/Download
-
Open vscode -> Open folder -> choose Desktop or wherever you want to work
-
In vscode, in the top menu, go to: File -> Auto Save, make sure you have V on it.
-
In vscode, in the top menu, go to: Terminal -> new terminal, then type:
git clone https://github.com/shaharjacob/learning-react.git
cd learning-react
pip install -r requirements.txt
python runme.py
- It will take a while, since we download a small model for sentence embedding.
If everything is good, you should see the output: 0.925.
- now, again in the vscode terminal, type:
cd webapp
npm install react-vis-network-graph
npm install @material-ui/core
npm install react-router-dom
npm start
- If npm is not recognize in vscode, restart your computer (restart vscode probably not work because of cache issues).
- After
npm install <package>
, it's ok if you see something like: 84 packages are looking for funding. runnpm fund
for details.
It should open your browser at http://localhost:3000/ , if not, open your browser and type it.
If everything installed properly, you should see: