Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 924 Bytes

readme.md

File metadata and controls

47 lines (31 loc) · 924 Bytes

irisschaffer.com

Front-end of irisschaffer.com. Prismic.io serves as a CMS.

The project uses React with server side rendering. Redux is used for data handling, redux-saga for asynchronous side-effects. Everything is bundled with webpack :) All content from the CMS is loaded into the local API, where it is cached and accessible through GraphQL syntax.

Requirements

Install

$ npm install
$ cp .env.example .env

Development

$ npm run develop # will start the development server on port 3000
$ PORT=4000 npm run develop # will start the development server on port 4000

Production

$ npm run build
$ npm start

Deploy

We use zeit's now for deployment.

$ npm run deploy
$ now alias [latest-deploy] irisschaffer.com