- Notifications
You must be signed in to change notification settings - Fork0
csesoc/csesoc-website
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains the code for a redesigned CSESoc website. The current website can be found atcsesoc.unsw.edu.au.
Navigate to the
frontenddirectory withcd frontend.Create a
.envfile in thefrontenddirectory with the following content:NEXT_PUBLIC_BACKEND_HOST=localhostNEXT_PUBLIC_BACKEND_PORT=9000This is necessary for the frontend to communicate with the backend.
Install dependencies with
npm installif you haven't already.Run using
npm run dev, changes will be reflected live.
Seepackage.json for further commands to lint, build, etc.
Navigate to the
backenddirectory withcd backend.Install dependencies with
npm installif you haven't already.Run using
npm run dev, changes will be reflected live.
Make sure you haveDocker installed.
Run
docker compose buildin the root directory, this will build the frontend and backend services in production mode, meaning live changes will not be reflected. In the future, you will only need to run eitherdocker compose build frontendordocker compose build backendif you have only made changes to the frontend or backend respectively.Run
docker compose up(ordocker compose up -dto run in the background) in the root directory, this will start the frontend and backend services.Run
docker compose downto stop the services.
About
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.