-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Oculux edited this page Jul 16, 2024
·
11 revisions
Hey, welcome onboard!
You will need node version 18.17.0 and git (any version).
- If you have nvm, type the command
nvm use 18.17.0
and check the node version withnode -v
- If this is your first time using git, you may want to check out Getting-Started-First-Time-Git-Setup
git clone https://github.com/UoaWDCC/younite-web.git
cd younite-web
- Make sure your node version is 18.17.0
-
npm run setup
(= npm install in all three folders)
- Copy the provided .env files into the
next
andstrapi
folders respectively. -
cd strapi
andnpm run dev
-
In a new terminal,
cd next
andnpm run dev
Step 5 & 6 starts up the Next.JS app and Strapi CMS - you can access them through the links printed in the console.
You'll need to populate the Strapi CMS (database) in order for the Next app to load. Sorry, this step's a little tedious.
- Log in to the admin dashboard (credentials in the strapi .env file)

- Head to the content manager tab and fill everything out. It can be gibberish - the data is stored locally on your machine and everyone has a different copy of the data for testing.

- Save AND publish each page.
This is what the home page of the Next app looks like after populating Strapi.
- Yvonne Liew (Project Manager)
- Nate Williamson (Tech Lead)
- Belle Yong Shi Hui
- Chloe Zosima Lubang Chutuape
- Eileen Qiu
- Hayley Sharpe
- Jessica Zeng
- Krish Masanam
- Tiaria Wilson
- Deiza Talreja