rightinyourwheelhouse / wheelhouse-website

https://wheelhouse.be
MIT License
1 stars 0 forks source link

Wheelhouse.be

Wheelhouse official website


Netlify Status

The website is built using Gatsby. It uses Netlify-CMS to provide data.

β˜• Setup

Install node_modules with npm install.

Website

  1. Run cp .env.example .env file in the project folder.

  2. Update all the xxxxxx values, here's where to find each:

    Website

    • RECRUITEE_TOKEN - You can find this in your recruitee profile settings (or ask a collegue)
    • HUBSPOT_API_KEY: This can be found in hubspot
    • HUBSPOT_ANALYTICS: This can be found in hubspot
  3. (initial deployment). Fill in the Website values on Netlify.

Netlify CMS

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

🧰 Development

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.

πŸš€ Deployment

Netlify

This is setup to work seamlessly with Netlify. Add these website .env variables to the Netlify Project

RECRUITEE_TOKEN HUBSPOT_API_KEY HUBSPOT_ANALYTICS

πŸ“‘ Repo structure

/
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