A short introduction to your project could go here. This README outlines the details of collaborating on this Grow website.
At a minimum, you will need the following tools installed:
If you do not have Grow, you can install it using:
curl https://install.growsdk.org | bash
Prior to starting the development server, you may have to install dependencies used by your project. The grow install command walks you through this and tries to set up your environment for you.
The grow run command starts your development server. You can make changes to your project files and refresh to see them reflected immediately.
grow install
grow run
You can use the grow build command to build your whole site to the build directory. This is a good way to test and verify the generated code.
grow build
This repository demonstrates continuous staging and deployment using Contentful (for CMS) and Google Cloud Storage (for deployment, on both staging and production). To customize the configuration to work with projects owned by you (instead of grow):
- Replace the Contentful keys with your own Contentful keys.
- Replace the default project and buckets in
circle.yamlandMakefile. - Enable the Google Cloud Storage JSON API
- Create a Google Cloud service account JSON key
- Download the JSON key you created.
- Run
base64 <file> | pbcopy. - Create a Circle CI environment variable named
CLIENT_SECRETand paste the encoded key into it.