1.1.2 • Published 5 years ago

create-graze-app v1.1.2

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

Create Graze App

Create Graze sites and apps in one command.

npx create-graze-app my-proj my-heroku-app https://api-euwest.graphcms.com/v1/cju9qelzv02z401ghexxj2llz/master
cd my-proj
npm start

or.... with the yarn create command:

yarn create graze-app my-proj my-heroku-app https://api-euwest.graphcms.com/v1/cju9qelzv02z401ghexxj2llz/master
cd my-proj
yarn start

GraphCMS Model

To run the preset that comes with the default setup your GraphCMS will need at least one model type called "Site".

Create a new model called "Site", and add two fields to it, "name" and "description" (both strings).