You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gem install thin # optional; more efficient webserver than Webrick but not strictly necessary
38
-
{% endhighlight %}
30
+
There is also a `.ruby-gemset` that is set to *coffeescript-cookbook*
39
31
40
-
### Install pygments
32
+
### Required dependencies
41
33
42
-
You'll need python installed for this. Macs and most linuces come with it preinstalled.
34
+
We are using [Bundler](http://bundler.io/) to install the required Ruby dependencies.
43
35
44
36
{% highlight bash %}
45
-
easy_install pygments # for syntax highlighting
37
+
bundle install
46
38
{% endhighlight %}
47
39
48
-
## Building and Viewing the Website
49
-
50
-
### Run jekyll
40
+
#### Install pygments
51
41
52
-
Open a terminal window, cd into the project folder and run jekyll from the project root.
42
+
You'll need python installed for this.
43
+
Macs and most Linuces come with it preinstalled.
53
44
54
45
{% highlight bash %}
55
-
jekyll --auto
46
+
easy_install pygments # for syntax highlighting
56
47
{% endhighlight %}
57
48
58
-
Leave this window running while you work. Any time you change a file, jekyll will rerender it into the `_site` folder.
59
-
60
-
### Run serve
49
+
## Building and Viewing the Website
61
50
62
-
Open another terminal window, cd into the project folder, then cd into the `_site` subfolder, and run
51
+
Open a terminal window, cd into the project folder and run `foreman start` from the project root.
63
52
64
53
{% highlight bash %}
65
-
serve
54
+
foreman start
66
55
{% endhighlight %}
67
56
68
-
This will start a webserver in the `_site` folder. Open a browser and visit `http://localhost:4000/` and you should see the site.
57
+
Leave this window running while you work.
58
+
Any time you change a file, jekyll will rerender it into the `_site` folder.
59
+
60
+
Open a browser and visit <http://localhost:4000/> and you should see the site.
69
61
70
62
## Minutiae and Other Trivialities
71
63
72
-
jekyll can take a second or two to catch up when you save a file. If you edit a file and don't see the changes in your browser, give it a second or two and try again. You may also see Maruku warnings, but as long as it prints `Successfully generated site` you should be alright.
64
+
Jekyll can take a second or two to catch up when you save a file.
65
+
If you edit a file and don't see the changes in your browser, give it a second or two and try again.
66
+
As long as it prints `Successfully generated site` you should be alright.
0 commit comments