Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.
/ dashboard Public archive

πŸ§šβ€β™‚οΈ Casty VueJs Dashboard Project

Notifications You must be signed in to change notification settings

castyapp/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

74d088b Β· Apr 3, 2021

History

98 Commits
Mar 24, 2021
Mar 9, 2021
Apr 3, 2021
Mar 9, 2021
Aug 27, 2020
Jan 4, 2020
Dec 25, 2020
Mar 9, 2021
Apr 3, 2021
Apr 6, 2020
Mar 9, 2021
Apr 3, 2021
Mar 9, 2021
Mar 9, 2021
Apr 3, 2021

Repository files navigation

Casty VueJs Project

Project setup

$ git clone https://github.com/CastyLab/dashboard.git

Install dependencies via npm

$ npm install

Configuration

make a copy of .env.example file and call it .env

$ cp .env.example .env

Environments

# 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=

Serve project on development server

$ npm run serve

Compiles and minifies for production

$ npm run build

Building docker image

$ docker build . --tag=casty.dash

Run docker image

$ docker run -dp 80:80 --restart always casty.dash

Customize configuration

See Configuration Reference.