Skip to content

fiveman1/strafes-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

439 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strafes-site

https://strafes.fiveman1.net/

Serves content from the StrafesNET Roblox bhop and surf games.

Setup

yarn install

yarn build

Make a .env in the root directory (this folder) with the following:

STRAFES_KEY=<your key>

Setup OAuth 2.0

Create a MySQL database named strafes_auth_users

Create the sessions and settings table (see server/sql/auth.sql)

Add the following to your .env

AUTH_DB_USER=<your MySQL user>
AUTH_DB_PASSWORD=<your MySQL password>
ROBLOX_CLIENT_ID=<your Roblox OAuth 2.0 client ID>
ROBLOX_CLIENT_SECRET=<your Roblox OAuth 2.0 client secret>
BASE_URL=<the base URL for the site>, such as "https://strafes.fiveman1.net"
COOKIE_SECRET=<a randomly generated secret of your choice>

Setup strafes_globals DB

You will need to setup and run https://github.com/fiveman1/strafes-globals-db then add the following to your .env

STRAFES_DB_USER=<your MySQL user>
STRAFES_DB_PASSWORD=<your MySQL password>

How to build/run/dev

Run dev server

yarn run dev

Build production

yarn build

Run production server

yarn start

About

Website for serving content from the StrafesNET Roblox games (bhop/surf)

Topics

Resources

License

Stars

Watchers

Forks