A guide for students of the Suncoast Developers Guild.
-
Enter the
webdirectory.cd web -
Install dependencies.
We use the
yarnpackage manager.yarn install
-
Start developing.
Navigate into the siteβs directory and start it up.
cd web yarn start -
Open the source code and start editing!
The handbook is now running at
http://localhost:8000!Note: You'll also see a second link:
http://localhost:8000/___graphql. This is a tool you can use to experiment with querying data. Learn more about using this tool in the Gatsby tutorial.
A quick look at the some of the files and directories you'll see.
.
βββ assignments
βββ lessons
βββ meta
βββ programs
βββ warm-ups
βββ web
βββ .prettierrc.json
βββ LICENSE
βββ README.md
-
/assignments: This directory contains markdown formatted Assignments referenced by Lessons. -
/lessons: This directory contains Lesson definitions. Each lessons contains markdown-formatted reading, lecture notes and associated presentations. -
/meta: Legacy content and some other things like writing style guides, work-in-progress lessons, etc. -
/programs: YAML definitions of the Programs offered by SDG. This is where a Program is associated with Lessons (via Modules). -
/warm-ups: A sort-of miniature lesson/assignment used as a warm-up or practice outside of lecture time. -
/web: This directory contains the actual Gatsby project the powers our Handbook. -
.prettierrc.json: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of code consistent. All contributions to this repository should be formatted according to these rules. -
LICENSE: Our Handbook's content is licened up a Creative Commons (CC BY-SA 4.0) license. The web application is MIT. -
README.md: You're looking at it!
Looking for more guidance? Full documentation for Gatsby lives on the website.