- Developers
- Getting Started Developing
- Deplyment With Netlify
- Prismic
- Gatsby
- Config Files
- Dependencies
- Sam Gildea: Project Lead
- Viviana Camargo: Developer
- Jialin Zhen: Developer
- Erin Wang: Designer/Developer
-
Start developing.
Navigate into your new site’s directory and start it up.
cd powerhouse-site/ npm install gatsby develop
- Login into Netlify
- Create a new site from git
- Link to Your GitHub
- Authorize Netlify
- Select Your Repo
- Configure Your Settings
- Build Site
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 is a React-based open-source framework for creating websites and apps.
.
├── 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
-
.gitignore
: This file tells git which files it should not track / not maintain a version history for. -
.prettierrc
: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent. -
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. -
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). -
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. -
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. -
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. -
package-lock.json
(Seepackage.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). -
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. -
README.md
: Information about the PowerHouse Site
- styled-components
- gatsby-source-prismic