Skip to content

💻 Foxy's Website where you can use dashboard, learn more about her and add her in your server

License

Notifications You must be signed in to change notification settings

FoxyTheBot/FoxyWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Foxy Website


✨ | Requirements

  • NodeJS v16.x or higher
  • Git
  • npm

Configuring the environment

You need to install Visual Studio Code or another IDE

Configuring .env

Create a .env file with these values:

CLIENT_SECRET=<your-bot-secret>
MONGO_URI=<your-mongodb-uri>
BOT_TOKEN=<your-bot-token>
REPORT=<your-report-webhook>
SUGGESTION=<your-suggestion-webhook>

Running the server

Install TSC in your computer

$ npm install -g typescript

Install all website dependencies

$ npm install

In start.ts you can change the HTTP port, but I prefer 8081

import { App } from './client/app';
const client = new App(8081);
client.start();

Compile the server

$ npm run build

Run the server

$ npm run start

About

💻 Foxy's Website where you can use dashboard, learn more about her and add her in your server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published