git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #157 from pusher/docs-instructions
e10b886Joel Speed
.gitignore+1
@@ -5,6 +5,7 @@ release
5.godeps
5.godeps
6*.exe
6*.exe
7.env
7.env
8+.bundle
8
9
9# Go.gitignore
10# Go.gitignore
10# Compiled Object files, Static and Dynamic libs (Shared Objects)
11# Compiled Object files, Static and Dynamic libs (Shared Objects)
docs/Makefilenew file+18
@@ -0,0 +1,18 @@
1+.PHONY: ruby
2+ruby:
3+ @ if [ ! $$(which ruby) ]; then \
4+ echo "Please install ruby version 2.1.0 or higher"; \
5+ fi
6+
7+.PHONY: bundle
8+bundle: ruby
9+ @ if [ ! $$(which bundle) ]; then \
10+ echo "Please install bundle: `gem install bundler`"; \
11+ fi
12+
13+vendor/bundle: bundle
14+ bundle install --path vendor/bundle
15+
16+.PHONY: serve
17+serve: vendor/bundle
18+ bundle exec jekyll serve
docs/README.mdnew file+13
@@ -0,0 +1,13 @@
1+# Docs
2+
3+This folder contains our Jekyll based docs site which is hosted at
4+https://pusher.github.io/oauth2_proxy.
5+
6+When making changes to this docs site, please test your changes locally:
7+
8+```bash
9+make serve
10+```
11+
12+To run the docs site locally you will need Ruby at version 2.1.0 or
13+higher and `bundle` (`gem install bundler` if you already have Ruby).