Here you can find instructions on setting up the development environment, building and deploying the website. If you get stuck just remember google exists.
- Install Node.js and git.
- Open cmd.exe and navigate to wherever you want to clone the repository e.g. "C://Users/[yuo]/coding".
- Clone the project there with
git clone [url]
and navigate into the new folder withcd hs-2024
. - Install npm dependecies with
npm install
. - Create the .env.local with the correct values. (Copy the example, rename and set the real values)
- Start the development server with
npm run dev -- --open
. Website will open to a new browser window.
- Create a production version of the website with
npm run build
. Make sure everything works like it did in dev environment. - Commit
git commit -m "[message]"
and push git
You can preview the production build with npm run preview
.
The are some python scripts for updating the songbook in /songBook. Songs and lyrics from the wordpress backend won't automatically update to the frontend.