Based on London After Midnight for Gatsby which is based on London for Gatsby.
-
Create a Gatsby site.
Use the Gatsby CLI to create a new project
# create a new Gatsby site using the blog starter gatsby new my-awesome-portfolio https://github.com/jooplaan/gatsby-london-night-and-day
-
Start developing.
Navigate into your new site’s directory and start it up.
cd my-awesome-portfolio/ gatsby develop
-
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-blog-starter
directory in your code editor of choice and editsrc/pages/index.js
. Save your changes and the browser will update in real time!