Device placement web app
After cloning this repo, in its folder execute these commands:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cd client
npm install
cd ..
cd client && npm run build && cd .. && source .venv/bin/activate && python -m server
click the link shown on the terminal, usually http://127.0.0.1:8080
- Open one terminal and run:
source .venv/bin/activate && python -m server
- Open another terminal and run:
cd client && npm run dev
- click the link shown on the second terminal, usually http://localhost:5173/
- Open ssh connection to server
sudo apt install nodejs python3-venv python3-pip zip unzip
mkdir argos && cd argos
python3 -m venv .venv
- exit ssh.
- make sure the address written inside
scripts/deploy.sh
is correct.
- run on project folder:
sh scripts/deploy.sh