Skip to content

Scout-NU/powerhouse-site

Repository files navigation

PowerHouse Site

Table of Contents:

  1. Developers
  2. Getting Started Developing
  3. Deplyment With Netlify
  4. Prismic
  5. Gatsby
  6. Config Files
  7. Dependencies

Developers

  • Sam Gildea: Project Lead
  • Viviana Camargo: Developer
  • Jialin Zhen: Developer
  • Erin Wang: Designer/Developer

Getting Started Developing

  1. Start developing.

    Navigate into your new site’s directory and start it up.

    cd powerhouse-site/
    npm install
    gatsby develop

Deploy With Netlify

  1. Login into Netlify
  2. Create a new site from git
  3. Link to Your GitHub
  4. Authorize Netlify
  5. Select Your Repo
  6. Configure Your Settings
  7. Build Site

Prismic

Prismic is a Headless CMS that is a tool for managing and updating all the content on the site.

To automatically deploy on Netlify when Prismic is updated you must add webhooks. Learn more about webhooks with Prismic and Netlify here.

Gatsby

Gatsby is a React-based open-source framework for creating websites and apps.

Config Files

.
├── node_modules
├── src
├── .gitignore
├── .prettierrc
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── LICENSE
├── package-lock.json
├── package.json
└── README.md
  1. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  2. .prettierrc: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.

  3. gatsby-browser.js: This file is where Gatsby expects to find any usage of the Gatsby browser APIs (if any). These allow customization/extension of default Gatsby settings affecting the browser.

  4. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).

  5. gatsby-node.js: This file is where Gatsby expects to find any usage of the Gatsby Node APIs (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.

  6. gatsby-ssr.js: This file is where Gatsby expects to find any usage of the Gatsby server-side rendering APIs (if any). These allow customization of default Gatsby settings affecting server-side rendering.

  7. LICENSE: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.

  8. package-lock.json (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).

  9. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  10. README.md: Information about the PowerHouse Site

Dependencies

  • styled-components
  • gatsby-source-prismic

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •