Skip to content

A Gatsby app which generates all content on the Roadie marketing site.

License

Notifications You must be signed in to change notification settings

RoadieHQ/marketing-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

caf5633 · Dec 11, 2024
Nov 6, 2023
Jan 17, 2022
Aug 2, 2024
May 9, 2024
Dec 11, 2024
Sep 3, 2024
Aug 29, 2024
Nov 27, 2024
Sep 17, 2024
Feb 3, 2021
May 4, 2022
Dec 8, 2020
Apr 25, 2022
Aug 3, 2020
Feb 3, 2021
Jul 3, 2024
Aug 2, 2024
Aug 2, 2024
Jul 23, 2020
Dec 6, 2022
Mar 29, 2021
Jan 4, 2024
Jun 20, 2023
Jul 10, 2024
Jun 11, 2024
Nov 19, 2024
Mar 11, 2022
Nov 27, 2024
Mar 16, 2022
Oct 30, 2024
Dec 4, 2024
Oct 5, 2021
Nov 14, 2023
Dec 4, 2024

Repository files navigation

This is the Gatsby generator for the Roadie marketing site. https://roadie.io

Layout and sections

The code for the actual marketing website and our docs site is in the src folder.

  • Some pages use Contentful to inject content i.e. src/pages/backstage-weekly.
  • The docs site top level tab content is found at src/doc/layouts

All the rest of the content is written in Markdown and rendered by Gatsby using the React components in found in src.

The content folder contains all the rest of the static marketing (roadie.io) and docs (roadie.io/docs/) content.

There are two different sections listing Backstage plugins:

  • generic open source docs for all backstage plugins at content/backstage/plugins
  • guides for our own customer using any plugins currently bundled with Roadie at content/docs/integrations.

The content/details section contains a mix of more specific detailed guides to a variety of Roadie Backstage features.

Getting started for local development

Export an environment variable for CONTENTFUL_ACCESS_TOKEN with the value set as the key for Content Preview API access token found in 1Password.

git clone [email protected]:RoadieHQ/marketing-site.git
cd marketing-site
cp .env.sample .env
# Edit the environment variables in the .env file. You will need to lookup the Contentful API key in 1password.
yarn install
env $(cat .env | xargs) yarn start

Open http://localhost:8000 in your browser.

Building for production

cp .env.sample .env
# Edit the environment variables in the .env file.
env $(cat .env | xargs) yarn build
yarn serve

Open http://localhost:9000 in your browser.

Viewing a preview for a PR

Go to https://app.netlify.com/sites/roadie/deploys and get the link generated for the preview deployment.