Skip to content

delowardev/blog

Repository files navigation

Gatsby

@delowardev

Live demo: https://blog66925.gatsbyjs.io/

  1. Start developing.

    Navigate into your new site’s directory and start it up.

    cd blog/
    gatsby develop
  2. Set environment variables

    GATSBY_FORMSPREE=__VALUE__
    CONTENTFUL_SPACE_ID=VALUE=__VALUE__
    CONTENTFUL_ACCESS_TOKEN=__VALUE__
    

    for testing purpose, you can use these env values:

    GATSBY_FORMSPREE=xjvjkela
    CONTENTFUL_SPACE_ID='1mwlvq26v004'
    CONTENTFUL_ACCESS_TOKEN='cKLxbgp0EsG9faN7-4bO9fxBaJyc24paltNUDYTojHk'
    
  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.

    Open the my-default-starter directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!

About

Personal blog app - Gatsby, React, GraphQL...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published