This is the development repository for Gistbook.io.
Right now it is not possible to run Gistbook locally unless you have its Github App secret. This is a known issue that I'm working on resolving.
Clone this repository.
git clone https://github.com/jmeas/gistbook.git
Navigate into the root directory of the project and install the dependencies.
cd gistbook && bower install && npm install
If this is your first time setting up Gistbook locally, run sudo npm run provision-hosts-local
.
Note: You will only ever need to run that a single time.
To build and start the development version of the app, run grunt work -f
.
Once the app is built, you can access it at http://gistbook.loc:3000
.
Run npm run get-secrets
if you haven't already. You'll only need to do this once.
Run the npm run deploy-staging
command from the root directory of the project.
Execute the npm run deploy
command from the root directory of the project. Tag a new release
on Github with the new version number.