Welcome to the source code for the HackSheffield website! We welcome pull requests, feel free to submit an issue if you have an idea!
- Install Node.JS
- Clone this repository
npm install- Grab a GitHub personal access token (to power the team section): https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
GITHUB_TOKEN=<insert token here> npm run start:dev
The teams section is powered by the GitHub GraphQL API. To use the API, you need an access token with enough permissions. The website node app is configured to read the GITHUB_TOKEN environmental variable. Make sure this is set when deploying and/or running locally.
Make sure you have the following selected when generating your token in order to run the site:
- repo
- read:org
- user:email