Skip to content
Oculux edited this page Jul 16, 2024 · 11 revisions

WDCC Younite Wiki

Hey, welcome onboard!

Deployment

Getting Started

You will need node version 18.17.0 and git (any version).

First-Time Setup

  1. git clone https://github.com/UoaWDCC/younite-web.git
  2. cd younite-web
  3. Make sure your node version is 18.17.0
  4. npm run setup (= npm install in all three folders)

Running The Application Locally

  1. Copy the provided .env files into the next and strapi folders respectively.
  2. cd strapi and npm run dev
  3. In a new terminal, cd next and npm 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.

Setting Up Strapi

You'll need to populate the Strapi CMS (database) in order for the Next app to load. Sorry, this step's a little tedious.

  1. Log in to the admin dashboard (credentials in the strapi .env file)
  1. 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.
  1. Save AND publish each page.

This is what the home page of the Next app looks like after populating Strapi.

2024 Team

  • 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
Clone this wiki locally