templates for self-hosting game jams (or any other kind of jam tbh)
1# Test the theme
2> Setup and run a server for developing and testing the theme
3
4This project has a GH Pages site on the `gh-pages` branch for testing the theme on the `master` branch. Follow these steps to get that setup locally.
5
6
7## Clone
8
9If is not safe to switch between branches in the same repo, the installed gems and the `.gitignore` files are different enough that conflicts will arise.
10
11So it is safest to clone the repo under a different directory name and keep it under the `gh-page` branch.
12
13Clone the repo:
14
15```sh
16$ git clone git@github.com:MichaelCurrin/jekyll-theme-quickstart.git jekyll-theme-quickstart-gh
17$ cd jekyll-theme-quickstart-gh
18$ git checkout gh-pages
19$ git branch -D master
20```
21
22
23## Install project dependencies
24
25Install gems using Bundler:
26
27```sh
28$ make install
29```
30
31
32## Start dev server
33
34```sh
35$ make serve
36```
37
38Open your browser at:
39
40- [localhost:4000](http://localhost:4000/jekyll-quickstart-theme/)