git clone git@github.com:frig-js/frig.gitgit clone git@github.com:frig-js/frigging-bootstrap.gitgit clone git@github.com:frig-js/frigging-examples.git- npm install + npm link:
cd frigging-bootstrap && npm install && npm link && cd ../frig && npm install && npm link && cd ../frigging-examples && npm install && npm link frig && npm link frigging-bootstrap - Install mkdocs from http://www.mkdocs.org/
- Run
mkdocs servefrom this repo - Run
npm startfrom thefrigging-examplesrepo - Go to http://localhost:8080/webpack-dev-server/ to view examples
- Go to http://localhost:8000/ to view docs
It is useful to npm link frig + frigging-bootstrap to frigging-examples if you are working on it so that both frig and frigging-bootstrap can be developed using the examples.
Never run webpack directly as it will generate a bunch of files in the examples and release directories (webpack-dev-server is cool though, it doesn't save anything to disk).
If you do accidentally run webpack you can get rid of all the files it generates by running git clean -f -X
npm version is the official way to compile a release. Npm will not publish a new version to npm and bower and push an updated copy of the docs. See https://docs.npmjs.com/cli/version
If you just need to update the docs without releasing a new version you can run ./scripts/publish_docs.sh
DO NOT compile a release if you want your pull request to be accepted. If you do compile a release you will need to remove it and re-submit your pull request. This is to prevent the Git repo from becoming massive and/or crazy-slow to download.