Official website of Thomas Jefferson High School for Science and Technology's systems administrator team.
The sysadmins' site is built using React and Gatsby. YAML files serve as the content management system.
-
Install the required dependencies
npm install
-
Start the server
Navigate into the source code folder and start the development server.
gatsby develop
-
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. -
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
!
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.