aboutsummaryrefslogtreecommitdiffstats
path: root/docs/README.md
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-09-27 14:56:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-09-27 14:56:52 +0100
commitb3fea58c6f9a29ec5fb428d82c25e3a82ac962af (patch)
treef7b79502c8bcbc158451c205944ee8d337750f8e /docs/README.md
parent371927debffc6bb42d8d86a90afc715d1d837e74 (diff)
Move docs from gh-pages branch.
Diffstat (limited to 'docs/README.md')
-rw-r--r--docs/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 000000000..d1b4897d0
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,30 @@
+fixmystreet.org
+===============
+
+The gh-pages branch is [fixmystreet.org](https://fixmystreet.org), the
+Jekyll-based static site running on GitHub Pages that is the documentation for
+setting up / running the FixMyStreet platform.
+
+## Installation
+
+The site is built by Jekyll. We manage our Ruby gem dependencies via
+[bundler](https://bundler.io/) so you’ll need to install that if you don’t
+already have it. Then you need to…
+
+```
+git clone --recursive -b gh-pages https://github.com/mysociety/fixmystreet fixmystreet-pages
+cd fixmystreet-pages
+bundle install --deployment
+```
+
+To preview the site locally, run:
+
+```
+bundle exec jekyll serve --incremental
+```
+
+And then visit <http://127.0.0.1:4000>.
+
+Jekyll automatically compiles the HTML/Markdown and Sass files as you go.
+And [livereload](https://github.com/RobertDeRose/jekyll-livereload)
+automatically reloads your web browser window when the site is recompiled.