To get the repository setup, follow these steps
$ git clone https://github.com/InterlakeProgrammingClub/ihsClubSite.git
$ cd ihsClubSite
$ npm iIf you would like to change the club info, head over to src/json/clubs.json and setup the below info.
| Parameter | Optional? | Accepts |
|---|---|---|
| name | no | string |
| description | yes | string |
| route | no | string representing a route |
| contact | yes | string |
| clubcontact | yes | string |
| room | yes | string |
| advisor | yes | string |
| day | yes | string |
| image | yes | path to image |
Note that if you would not like to include info, you may leave it as an empty string (
"")
Example:
[
{
"name": "Programming Club",
"description": "We love programming!",
"route": "/programming",
"contact": "",
"clubcontact": "admin@interlakeprogrammingclub.com",
"room": "727",
"advisor": "Bezos",
"day": "Monday",
"image": "/logos/programming.png"
}
]By default, the form in /contact is not shown. If you would like it to show/change the link, you can follow these steps.
- Copy
.env.exampleinto.env - Set the link of your form
If you want to change when the clubs start and end, you can change the following string environment variables:
NEXT_PUBLIC_WEDNESDAY_START_END_TIMENEXT_PUBLIC_START_END_TIME
If you would like to change anything else, you can directly edit the code and use it, as long as it follows our license
Finally, you can go ahead and start the webserver.
For development:
$ npm run devFor production:
$ npm run build
$ npm startIf you would like to help contribute to this project, you can either create an issue or make a pull request.