Skip to content

Aerian Studios site rebuild using Gatsby static site generator and Netlify-CMS

License

Notifications You must be signed in to change notification settings

aerian-studios/aerian-site-rebuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aerian Studios website Build Status codecov

Static website build for Aerian Studio's website.

It uses Gatsby for static site generation with React and Netlify CMS for the content management.

Site structure is opinionated and uses our component hygen generator and S'unya's 3 types of Style theming structure.

Install

yarn

Develop

Then you can run develop by:

yarn start

You can run the Storybook dev server at the same time:

yarn storybook

They will be available at http://localhost:9001

Storybooks are also built for the master branch in git, and are available at https://aerian-storybook.netlify.com. Deploy previews for Storybooks are also built for all pull requests.

Test

Run unit tests. This will also generate the first snapshots. You will not be able to commit changes without doing this.

yarn test

If snapshots don't match, check that this is OK, then run:

yarn updateSnapshot

or...

yarn test -u

When you commit changes tests will be run on those files, so make sure you run the tests and ensure they pass before trying to commit.

When you push to origin, the full test suite will run. You will not be able to push unless they pass. The tests are also run on Travis CI on all pull requests, so you can see the status.

Deploy

First check that your project can build by running:

yarn build

Then commit and push changes and make a pull request. This will cause Netlify to run a build and generate a deploy preview. This will be added to the pull request automatically. When the PR is merged to master, Netlify will run a new build and deploy to https://beta.aerian.com/

About

Aerian Studios site rebuild using Gatsby static site generator and Netlify-CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published