Prototype for a v2 of Formation.
Min specs:
- Jekyll
- react
- webpack
Tested using node
v8.12.0 and npm
v6.4.1.
- Install dependencies
$ npm install
- Build and start the Jekyll server
$ npm run start
- Verify in browser: localhost:4000
To add content, you will need to look into /src
directory. This will be the source from which Jekyll builds the site.
The design system can be found
/src/_design-system/
The content style guide can be found
/src/_content-style-guide/
Since this site relies on scripts and processes that are not whitelisted in GitHub pages, we have to build the site locally in order to deploy it. The shell script will create a gh-pages
branch in the site
directory, initiate version control separate from the master
branch, and push the branch to GitHub. Like most builds, the version history is not of importance.
$ npm install
$ npm run build
$ ./deploy_site.sh