Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.9 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.9 KB

UWindsor CSS Site

Overview

This repository contains the source code for the University of Windsor Computer Science Society's website, developed with the Next.js framework. This site is designed to serve our student community by providing information on upcoming events, newsletters, and other resources. The site is integrated with Discord to verify student status and provide access to the society's Discord server.

css-site-preview

Development Setup

Prerequisites

Before you begin, ensure you have the following installed on your local machine:

Installation

  1. Clone this repository to your local machine.

  2. Install project dependencies:

pnpm install
  1. Copy the .env.example file and rename it to .env. Then, update the variables with the appropriate values. Make sure to fill out the required sections before proceeding.

  2. Set up the database container using Docker Compose:

docker compose up -d db
  1. Run the migrations using Prisma:
pnpx prisma migrate dev
  1. Start the Next.js development server, which will automatically reload when changes are made:
pnpm run dev

Your development environment is now set up and running. Access the site at http://localhost:3000.

Production

To build the site for production, run the following command:

pnpm run build

To start the production server, run the following command:

pnpm start

License

This project is licensed under the MIT License.