The source code repository for hacker portal, SFU Surge's all-in-one hackathon application management system
-
First, ensure that you are using a stable and/or lts version of node >
v20(highly recommend using nvm and utilizing the.nvmrcfile in the repository) -
Have a running instance of MySQL, with a database and user credentials prepared ahead of time
-
Have
pnpminstalled:
npm install -g pnpm@latest
and then run pnpm install within the project directory to install the packages
Copy and paste the following settings into your local .env file, and fill out all the fields with the correct credentials
- You can use
docker-composeto create the local postgresql database
# just run to run the docker-compose.yaml db configs.
# then remember to toggle .env file to the local url
docker-compose up- If you have made additions/modifications to the drizzle schema, please first run
pnpm drizzle-kit generate - Then to persist your changes to your database, run
pnpm drizzle-kit push
pnpm run devor
npm run dev
pnpm run build
pnpm run startor
npm run build
npm run startSee notion page for login credentials are env variables
- Neon auto scaling is in effect, currently in development, scaling range is set to 0 to 0.5x. In prod the max range can be up to 2x resource.
- See design figma workspace