GithubHelp home page GithubHelp logo

πŸš€ Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying the default starter.

    # create a new Gatsby site using the default starter
    gatsby new my-primer-starter https://github.com/thomaswang/gatsby-starter-primer
  2. Start developing.

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

    cd my-primer-starter/
    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.

    Open the my-primer-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!

πŸ”” Important files

Remember to edit these files to customize the basic template:

  • gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).

  • src/components/nav.js: This is your header component. Edit the name and website link!

  • src/pages/index.js: This is your index page that loads at /. Customize it to make it your own.

πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the 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.

πŸ”· Using Primer

The design of the page is based on the Primer website and uses Primer React component library. Primer is open-source and and maintained by GitHub’s Design Systems team.

Take a look at their documentation and see what you can make!

πŸ’« Deploy

Deploy to Netlify

LAKE A. KAMSON's Projects

apex-recipes icon apex-recipes

A library of concise, meaningful examples of Apex code for common use cases following best practices.

docs.opensauced.pizza icon docs.opensauced.pizza

Docs dot Open Sauced is an static rendered documentation for open source developer onboarding

dreamhouse-lwc icon dreamhouse-lwc

Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.

fastify icon fastify

Fast and low overhead web framework, for Node.js

front-end-interview-handbook icon front-end-interview-handbook

πŸ•Έ Almost complete answers to "Front-end Job Interview Questions" which you can use to interview potential candidates, test yourself or completely ignore

gatsby-starter-shopify icon gatsby-starter-shopify

A Gatsby starter using the latest Shopify plugin showcasing a store with product overview, individual product pages, and a cart

javascript-datastructures-algorithms icon javascript-datastructures-algorithms

:books: collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book

lago icon lago

πŸ“• Data Structures and Algorithms library in TypeScript

learning-jsdp icon learning-jsdp

Learning JavaScript Design Patterns: 2nd Edition - The Examples

lit icon lit

Lit is a simple library for building fast, lightweight web components.

live-server icon live-server

A simple development http server with live reload capability.

lwc icon lwc

:zap: LWC - A Blazing Fast, Enterprise-Grade Web Components Foundation

lwc-recipes icon lwc-recipes

A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.