The website is built using Gatsby. It uses Netlify-CMS to provide data.
Install node_modules with npm install.
- Run
cp .env.example .envfile in the project folder. - Update all the
xxxxxxvalues, 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-serverin 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 startYour 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