The code source and database structure of the Deltarune Speedrunning Hub
- Create a Next.js empty project
- Clone this repository and merge it to the project you just created
- Open a command prompt in the root of the project and type
npm install --force
- Install a MySQL server on your server
- Install MySQL Workbench
- Connect to your database using MySQL Workbench
- Create a schema
- After that, open the folder
database_structureof the project and opendataBaseWithRows.mysqlwith MySQL Workbench - Select the schema you created and run the script. It should create all the tables and fill
chaptersandsections
- In the project's root, rename
envtemplate.localto.env.local - Open it and change the the following fields:
HOST: The IP the MySQL server is hosted on (127.0.0.1for local)DBPORT: The port of the database (3306by default)USER: The database's user you're using (rootby default)PASSWORD: The database's passwordDATABASE: The schema of the project in your databaseIP_PORT: the port the website is hosted on (3000by default)DISCORD_CLIENT_ID: Client id of your Discord applicationDISCORD_CLIENT_SECRET: Client secret of your Discord application
If you'd like to contribute to the project, feel free to fork it and propose changes! If you'd like to contact us, please join the Discord server and ping @Vintagix or @ashmichda in #technical-talk