Git Product home page Git Product logo

headless-starter's Introduction

headless

the shopify + gatsby starter theme for digital commerce

made by ecomloop We help uncommon businesses succeed in the digital economy

Quick Start

Create a Gatsby site

# Create a new Gatsby site using the Lumen starter
gatsby new shop https://github.com/ecomloop/headless

Start Developing

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

cd shop
gatsby develop
Deploy with Netlify

Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.

Deploy to Github Pages

To deploy to github pages, simply do the following:

  • Ensure that your package.json file correctly reflects where this repo lives
  • Change the pathPrefix in your config.js
  • Run the standard deploy command
npm run deploy

Access Locally

$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
$ yarn
$ npm run develop

To test the CMS locally, you'll need run a production build of the site:

$ npm run build
$ gatsby serve

headless-starter's People

Contributors

brunetsimon avatar daylennguyen avatar deanoakley avatar dependabot[bot] avatar ethan-hurst avatar firthir avatar francescacosta avatar nthulstrupp avatar rantumbits avatar sam-scott avatar spacemanpete avatar thrivedevteam avatar vweltje avatar

Watchers

 avatar  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.