Web-based configuration for VR applications
 
 
 
 
 
 
Go to file
Anton Franzluebbers 7dd25b2bc1 added discord bot to this repo 2022-06-22 20:53:44 -04:00
discord_bot added discord bot to this repo 2022-06-22 20:53:44 -04:00
static_website switched to planetscale db 2021-12-15 15:49:06 -05:00
velconnect switched api to fastapi, simplified setup 2022-06-22 18:37:14 -04:00
website user count history 2021-12-17 02:38:08 -05:00
.gitignore added discord bot to this repo 2022-06-22 20:53:44 -04:00
CreateDB.sql updated db schema to include modifier, simplified modifying endpoint 2022-01-30 23:04:58 -05:00
README.md added discord bot to this repo 2022-06-22 20:53:44 -04:00
run_flask_server.sh switched to planetscale db 2021-12-15 15:49:06 -05:00

README.md

VELConnect API Setup

  1. cd velconnect
  2. Create pip env: python3 -m venv env
  3. Activate the env . env/bin/activate
  4. Install packages pip install -r requirements.txt
  5. Add config_mysql.py
    • Get from some old server
  6. Run ./run_server.sh
    • Or set up systemctl service:
      [Unit]
      Description=VELConnect API
      Requires=network.target
      After=network.target
      
      [Service]
      User=ubuntu
      Group=ubuntu
      Environment="PATH=/home/ubuntu/VEL-Connect/velconnect/env/bin"
      WorkingDirectory=/home/ubuntu/VEL-Connect/velconnect
      ExecStart=/home/ubuntu/VEL-Connect/velconnect/env/bin/uvicorn --port 8005 main:app
      [Install]
      WantedBy=multi-user.target
      
    • Enter the above in /etc/systemd/system/velconnect.service
    • sudo systemctl enable velconnect
    • sudo systemctl start velconnect