Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 951 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 951 Bytes

Twasi Panel

Build Status

This is the management bord for the Twitch Bot. You can control, enable, disable and manage plugins here.

Set up

Clone the repo and issue yarn or npm install. In the public directory, create a folder "config" with the file "config.js" in it.

Paste this into the file:

window.env = {
  ...window.env,
  AUTH_URL: 'https://api-beta.twasi.net/auth?environment=http://localhost:3000',
  GRAPHQL_URL: 'https://api-beta.twasi.net/graphql',
  WEBSOCKET_URL: 'wss://api-beta.twasi.net/ws'
};

You can also adapt it to use the local backend (if it is running on your machine):

window.env = {
  ...window.env,
  AUTH_URL: 'http://localhost:8000/auth?environment=http://localhost:3000',
  GRAPHQL_URL: 'http://localhost:8000/graphql',
  WEBSOCKET_URL: 'ws://localhost:8000/ws'
};