Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.2 KB

Website - Sysadmins

Official website of Thomas Jefferson High School for Science and Technology's systems administrator team.

Architecture

The sysadmins' site is built using React and Gatsby. YAML files serve as the content management system.

Development

  1. Install the required dependencies

    npm install
  2. Start the server

    Navigate into the source code folder and start the development server.

    gatsby develop
  3. Edit code

    The site 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 your data. Learn more about using this tool in the Gatsby tutorial.

  4. Build and serve for production

    When you're ready to build for production, stop the development server.

    gatsby build && gatsby serve

    The production server is running at http://localhost:9000!

Content Management

This site stores content in the form of YAML files, located in src/data. After editing the data, make sure to restart the production server.