- Follow instructions below to select which one to run
- I did not implement a stay alive connection or automatic hardware data updating, to get latest hardware info you must run client again
- Install postgres docker image (instructions did not indicate any datastore so using postgres with docker)
- open command line (not powershell)
- cd to service
- run cargo install sqlx-cli
- run set DATABASE_URL=postgres://vr360action:vr360action@localhost/vr360action
- run dockerbuild.cmd
- sqlx migrate run --database-url postgres://vr360action:vr360action@localhost:5432/vr360action
- Run host
- open command line (not powershell)
- cd to target/debug
- run set HOST=127.0.0.1 && set PORT=5001 && service
- Run client
- open command line (not powershell)
- cd to target/debug
- run set HOST=127.0.0.1 && set PORT=5001 && set CLIENT=true && service