Serves content from the StrafesNET Roblox bhop and surf games.
yarn install
yarn build
Make a .env in the root directory (this folder) with the following:
STRAFES_KEY=<your key>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>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>yarn run dev
yarn build
yarn start