Skip to content

University of Southampton Electronics and Computer Science Society website

License

Notifications You must be signed in to change notification settings

ecss-soton/new-web

Repository files navigation

University of Southampton Electronics and Computer Science Society website

This website is used as the primary digital interface between the ECS Society and it's members. We hope that this website allows our members to show off what they are all capable of

Getting Started

Prerequisites

Environment Variables

To run this project, copy the .env.example file to .env and fill in the environment variables

Seeding the Database

When running the website for the first time, you will need to seed the database with some initial data. This can be done

mongorestore --uri="mongodb://127.0.0.1/" --db=ecss-website-cms data/dump/ecss-website-cms

Note after development you may want to save the database for others to use. This can be done using the following command

mongodump --uri="mongodb://127.0.0.1/" --db=ecss-website-cms --out=[file path to ./data]

Run Locally

Clone the project

git clone https://github.com/ecss-soton/new-web.git

Go to the project directory

cd new-web

Install dependencies

npm install

The election backend requires the stv-rs command line tool. It can be installed using the following command

cargo install stv-rs

Start the server

npm run dev

Docker image

Find our docker image on Docker hub

About

University of Southampton Electronics and Computer Science Society website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages