Wheelhouse official website
The website is built using Gatsby. It uses Netlify-CMS to provide data.
Install node_modules with npm install
.
Run cp .env.example .env
file in the project folder.
Update all the xxxxxx
values, here's where to find each:
RECRUITEE_TOKEN
- You can find this in your recruitee profile settings (or ask a collegue)HUBSPOT_API_KEY
: This can be found in hubspotHUBSPOT_ANALYTICS
: This can be found in hubspot(initial deployment). Fill in the Website values on Netlify.
For using the CMS offline you can use:
npx netlify-cms-proxy-server
in your local .env file you also need to add:
NODE_ENV=development
More information about that: https://www.netlifycms.org/docs/beta-features/#working-with-a-local-git-repository
npm start
Your site is now running at http://localhost:8000
!
β οΈ Important!
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.
This is setup to work seamlessly with Netlify. Add these website .env
variables to the Netlify Project
RECRUITEE_TOKEN
HUBSPOT_API_KEY
HUBSPOT_ANALYTICS
/
A quick look at the top-level files and directories you'll see in a Gatsby project.
.
ββ gatsby # gatsby-node configuration files
ββ node_modules # installed packages
ββ public # autogenerated gatsby website, used for deployment
ββ src/
β ββ api/ # hooks for data fetching
β ββ cms/ # netlify-cms configuration files
β ββ components/ # components without logic
β ββ data/ # json files that provide data (editable via netlify-cms)
β ββ hooks/ # generic react hooks
β ββ images/ # image assets
β ββ layouts/ # gatsby layouts
β ββ modules/ # components with logic
β ββ pages/ # gatsby pages
β ββ styles/ # style configuration utils
β ββ templates/ # gatsby page templates for autocreated pages
β ββ utils/ # generic utils
ββ static # files in this folder get copied to /public/static
ββ .gitignore
ββ gatsby-browser.js
ββ gatsby-config.js
ββ gatsby-node.js
ββ gatsby-ssr.js
ββ package-lock.json
ββ package.json
ββ README.md