POC for using Contentful CMS
- Make sure you have NodeJS installed on your mac. It's easiest to install using Homebrew:
brew intall node - Open a console window and clone the repo:
git clone git@github.com:clohr/contentful.git cdinto the "contentful" directory.- Type
npm install. DevDependencies and Dependencies should be installed (may take a minute or two). - Type
gulp. Server will start on port 9000 by default. - Open a browser and go to
http://localhost:9000.
cdinto the "contentful" directory.- Type
gulp. Server will start on port 9000 by default. - Open a browser and go to
http://localhost:9000.
- Type
rsin the console window.
- While the app is running type CTRL + C.
- There are two routes to preview:
- Open console window and cd into "contentful" directory.
- Type
npm test
- Open console window and cd into "contentful" directory.
- Type
npm run outdated