- welcome to your website!
- this is exciting! We have made it easy for you to transition your new committee roles into this super optimized system
- with json files containing all the information you would like to publish, all you need to do is write json
- how easy is that?!
- now for the fun bit, the explanations on operation below
- clone the code
git clone https://github.com/Exeter-Computer-Science-Society/excs-website-2.git - go into the directory
cd excs-website-2 - run
npm run dev
- we have written a simple script that configures the website for a new committee!
- please use carefully, we have tried to make it as fool-proof as possible
run file here
- here we will describe each json file ( you will hopefully only need to interact with these )
- This file contains new concepts and ideas that your committee would like to implement this year
- This will be shown on the front page of the site in a list format
[
{
"name": "Welcome Our New Committee",
"description": "With warm hearts we welcome our new committee for the 2024/25 academic year!",
"footnote": "",
"image": "/public/images/<REST OF LINK>",
"link": "/committee"
}
]
- please add your committee photos to the {public/images/people} folder
- please update the json file
/data/committee.jsonwith your names, positions and image locations - committee images are stored in
/public/images/people/
[
{
"name": "",
"position": "",
"description": "",
"image": "/images/people/<ENTER NAME>.jpeg",
"links": [
{
"type": "linkedin",
"url": "https://www.linkedin.com/in/<ENTER ID>"
},
{
"type": "github",
"url": "https://github.com/<ENTER USERNAME>"
},
{
"type": "instagram",
"url": "https://www.instagram.com/<ENTER USERNAME>"
},
{
"type": "other",
"url": "<LINK HERE>"
}
]
}
]
- this file commemorates fallen committee soldiers
- the transition script should migrate all current committees into the previous committee folder
/data/past_committee.json( please fix if it doesnt ) - committee images are stored in
/public/images/people/past - below is a description of how to add a committee to the json file
[
{
"name": "",
"position": "",
"description": "",
"image": "/images/people/<ENTER NAME>.jpeg",
"links": [
{
"type": "linkedin",
"url": "https://www.linkedin.com/in/<ENTER ID>"
},
{
"type": "github",
"url": "https://github.com/<ENTER USERNAME>"
},
{
"type": "instagram",
"url": "https://www.instagram.com/<ENTER USERNAME>"
},
{
"type": "other",
"url": "<LINK HERE>"
}
]
}
]
- here will be described how to publish an event to the website
- please locate the json file
/data/events.json - the date must be in the provided format, otherwise it wont work
- the id must not be repeated
[
{
"id": 1,
"title": "<SOCIAL NAME>",
"description": "<DESCEIPTION>",
"image": "/images/events/<IMAGE NAME>.jpeg",
"date": "<YEAR>-<MONTH>-<DAY>",
"time": "<TIME>",
"location": "<VENUE NAME>",
"location_link": "<ENTER GOOGLE LINK>",
"fixr": "<ENTER FIXR LINK>",
"link": "<ENTER INSTA LINK OR OTHER>",
"tags": ["<TAG 1>", "<TAG 2>"],
"longitude": <ENTER LONGITUDE>,
"latitude": <ENTER LATITUDE>
}
]
- if you wish to include featured projects please update the
/data/featured_projects.jsonfile regularly
[
{
"title": "the project name",
"languages": "python | julia ...",
"description": "",
"image": "/public/images/<LINK>",
"link": "https://www.github.com/<USERNAME>/<PUBLIC REPO>",
"author": "Wiktor Wiejak"
}
]
- please also update the winning project using the same format every month if you are doing this!
- integrate the new hack south west website as a subdomain
- utilise phone compatability on the events page