Skip to content

JavaScript-NZ/nzjscon-website

Repository files navigation

nzjscon-website

  1. Start the dev server.

    Clone this repo. Navigate into its directory and start it up.

    cd nzjscon-website/
    npm install
    npm start
  2. Open the source code and start editing!

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

    _Note: You'll also see a second link: http://localhost:8000/___graphql.

    The site is built with Gatsby. See their documentation.

  3. Commit and deploy your changes

    The live site is the built assets in the public folder, deployed as a subtree to the gh-pages branch.

    npm run build
    git add . && git commit -m "Update site" && git push origin master
    git subtree push --prefix public origin gh-pages