Git Product home page Git Product logo

gatsby_site's Introduction

Product Mindset Site

Web site for: https://www.productmindset.com

Currently deployed to:

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

npm (or yarn) - https://www.npmjs.com/ or https://yarnpkg.com/en/

Note: npm and yarn commands can generally be run interchangeable. For example:

npm install

or

yarn install

yarn commands will be used in this readme for brevity

Installing

yarn install

Having the Gatsby CLI program installed can also be helpful:

yarn global add gatsby-cli

Development

The following will run a local development instance:

yarn develop

The following will run a local production instance:

yarn build
gatsby serve

Concepts

This project uses the [Gatsby]https://www.gatsbyjs.org/ [React.js]https://reactjs.org/ Static Site Generator (SSG).

Automated Build

The following commands are run durng the automated build and are required to be completed successfully.

yarn lint
yarn build
yarn test

They can be run locally to resolve any build issues.

Preview deploys are available from Netlify on each branch / pull request. CMS Admin functionality is available on these previews, however the backend will still point to the master branch and not the branch from the pull request.

There are several additional automation checks run on branches. Some may be helpful.

CMS Development

This project uses the [Netlify CMS]https://www.netlifycms.org/.

Netlify CMS options are configured in /static/admin/config.yml.

Note the following section:

backend:
  name: git-gateway
  branch: master
  repo: product-mindset/site

publish_mode: editorial_workflow

The following will allow for using a local in-memory version of the CMS backend (useful for local development)

backend:
  name: test-repo

And remove:

branch: master

repo: product-mindset/site

publish_mode: editorial_workflow

Note that the test-repo backend does not (currently) support using the editorial_workflow.

Modifying these settings locally should allow for a useful CMS development environment.

Deployment

Merges to master will automatically be deployed to the [Netlify]https://www.netlify.com/ hosting service. [Netlify Identity]https://www.netlify.com/docs/identity/ and [Netlify Forms]https://www.netlify.com/docs/form-handling/ are used.

Deploying a new instance

Deploy to Netlify

Forked From

gatsby-starter-typescript

The default Gatsby starter converted to TypeScript.

For an overview of the project structure please refer to the Gatsby documentation - Building with Components

Install the original starter (assuming Gatsby is installed) by running from your CLI:

gatsby new gatsby-starter-typescript https://github.com/haysclark/gatsby-starter-typescript

Deploying the original starter

Deploy to Netlify

gatsby_site's People

Contributors

renovate[bot] avatar kyleamathews avatar derektiffany avatar product-mindset avatar lkloepping avatar renovate-bot avatar product-mindset-contributor avatar azure-pipelines[bot] avatar mef avatar emilyaviva avatar the-zebulan avatar patrykkopycinski avatar ocboogie avatar slightlytyler avatar timurc avatar stefvhuynh avatar saviomuc avatar rclai avatar levibuzolic avatar haysclark avatar gesposito avatar d2s avatar bdougie avatar

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.