Welcome to CompSoc - The University of Edinburgh's Tech Society!
This repository contains the source code for our main website, comp-soc.com. The website features:
- Information about our society
- Details about our Special Interest Groups (SIGs)
- Current and past committee members
- Meeting minutes
- CompSoc news, sponsors and updates
The website is built using:
- NextJS
- TailwindCSS
- Static site generation
- GitHub Pages hosting
This is the latest iteration of our website, following several previous versions.
While NextJS typically runs dynamically, we currently generate a static version for GitHub Pages hosting. We plan to transition to a dynamic NextJS application hosted on Tardis in the future.
Want to contribute? Follow the setup instructions below to get the project running on your machine.
-
Download Node.js: Go to the Node.js website and download the latest stable version for your operating system.
-
Install Node.js: Follow the installation steps for your OS:
- Windows: Run the
.msi
installer and follow the prompts. - macOS: Run the
.pkg
installer. - Linux: Use the package manager:
sudo apt install nodejs npm
- Windows: Run the
-
Verify Installation: Open a terminal and check if Node and npm are installed:
node -v npm -v
-
Fork the Repository: Click on the "Fork" button at the top of the repository page.
-
Clone Your Fork: Clone the project to your local machine:
git clone https://github.com/YOUR_USERNAME/comp-soc.com.git
-
Navigate to the Project Directory:
cd comp-soc.com
-
Install Dependencies: Install the necessary packages using npm:
npm install
-
Start the project:
npm run dev
-
Open in browser: Usually, the project will be running at
http://localhost:3000
. You can open it in your browser to view.
We welcome contributions! Here's a simple guide to get started:
-
Create a New Branch:
git checkout -b feature/feature-name
-
**Make your Changes: write your code and commit with a clear message:
git commit -m "Detailed message"
-
Push to your Forked Repository:
git push orgin feature/feature-name
-
Open a Pull Request: Go to your fork on GitHub, and you'll see a prompt to open a pull request.
-
Go to the folder
/constants
. -
There are two folders
minutes
andnews
, Both of this hold.md
files. -
You can add your
.md
file to the corresponding folder. -
Open a Pull Request to get the changes on CampSoc.