$ git clone https://github.com/CastyLab/dashboard.git
$ npm install
make a copy of .env.example
file and call it .env
$ cp .env.example .env
# Websocket configurations
# Setup user and theater websocket gateways!
VUE_APP_API_USER_WEBSOCKET_URI=ws://localhost:3000/user
VUE_APP_API_THEATER_WEBSOCKET_URI=ws://localhost:3000/theater
# API http requests config
VUE_APP_API_SCHEMA=http
VUE_APP_API_BASE=localhost:9002
VUE_APP_API_VERSION=v1
# Google oauth configs
VUE_APP_API_GOOGLE_ANALYTICS_TRACK_ID=
VUE_APP_API_GOOGLE_CLIENT_ID=
VUE_APP_API_GOOGLE_REDIRECT_URI=http://localhost:8000/oauth/google/callback
# Discord oauth configs
VUE_APP_API_DISCORD_CLIENT_ID=
VUE_APP_API_DISCORD_REDIRECT_URI=http://localhost:8000/oauth/discord/callback
# Recaptcha config
# This should match the api.server project google recaptcha variable
VUE_APP_API_RECAPTCHA_KEY=
$ npm run serve
$ npm run build
$ docker build . --tag=casty.dash
$ docker run -dp 80:80 --restart always casty.dash