Skip to content

Preston So's personal site, powered by Gatsby, Drupal, and Oracle Content and Experience

License

Notifications You must be signed in to change notification settings

prestonso/preston-so

Repository files navigation

Gatsby

preston.so website

Thanks for stopping by! This is the source code for Preston So's personal site, powered by Gatsby, Drupal 8, and Oracle Content and Experience.

Getting started

  1. Install Gatsby CLI.

    Ensure you have Gatsby CLI installed globally. You'll also need Node.js.

    npm install -g gatsby-cli

    You can run gatsby --help to see available commands and ensure Gatsby CLI is installed correctly.

  2. Start developing.

    Navigate into the site's root directory and boot it up!

    cd preston-so/
    gatsby develop
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    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.

  4. Prepare a build and serve.

    You can prepare a production-ready build and serve it in your browser:

    gatsby build && gatsby serve

Next steps for preston.so

  • Refactor use of background-image property to use gatsby-image instead, for both accessibility and performance reasons.
  • Componentize CSS to be less global in order to improve performance.
  • Implement gatsby-plugin-intl (see feat/intl branch).

More about Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the Gatsby website. Here are some places to start:

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

About

Preston So's personal site, powered by Gatsby, Drupal, and Oracle Content and Experience

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published