This is our static site generator, powered by gatsby
Want a simple pull request? Add yourself to the data/attendees/ directory. Create a new yaml file with your name, with the following content:
---
name: Name
github: <github id>
twitter: <optional twitter id>
When in doubt, look at other people in that directory
If you want to help teach or contribute in anyway, Add yourself to the data/mentors/ directory. Create a new yaml file with your name, with the following content:
---
name: Name
github: <github id>
twitter: <optional twitter id>
We usually like mentors to have come to a session before, and read up on the https://github.com/nodeschool/organizers/wiki/Event-Mentor-Best-Practices#on-being-a-mentor section on the nodeschool wiki.
Any sponsors can be added to the data/sponsors/ directory. Create a new yaml file with the name of the sponsor name, with the following content:
---
name: $Name
logo: $relativePathToLogo.png
link: $URL
This is heavily based off the nodeschool toronto template. It used jekyll which when I tried it wouldn't compile properly, and as a node group, figured all node was better.
npm install
npm run dev
This should start gatsby on port 3000
Everything for your nodeschool event should be managed in the data/ directory
data
├── mentors
├── attendees
├── photos
├── sponsors
├── config.js
-
/data/mentors
: This contains a list of your mentors. One yaml file per mentor. Icons are taken from github -
/data/attendees
: This contains a list of any attendees that want to show themselves as part of the community. -
/data/photos
: Your events photos. -
/data/sponsors
: Your events sponsors. -
config.js
: Your main configuration file, all your chapter's specific information should go here
npm run deploy:github
This will deploy your site to your gh-pages branch of the current repository