@@ -25,30 +25,42 @@ If you don't have, or don't want to have, perlbrew do basically the same with su
25
25
> ln -s git-hooks.pl post-commit
26
26
which will get you automatic sync with GitHub pages.
27
27
28
-
29
28
7 . Get a [ Travis account] ( http://travis-ci.org ) and activate the
30
29
service hook for your project. We are going to use this for
31
- spell-check
30
+ spell-check.
31
+
32
+ 8 . If you want to spell-check also in your own computer (hey, you can
33
+ be in a plane and offline) you'll have to install also the Hunspell
34
+ spell checker. You can do it following the instructions in [ the Travis
35
+ conf file] ( .travis.yml ) (hey, if it's good enough for Travis, it must
36
+ be good enough for you), that is:
37
+ > sudo apt-get install libhunspell-1.3-0 hunspell-en-us libhunspell-dev
38
+ And then the modules mentioned in [ the module
39
+ Makefile.PL] ( Makefile.PL ) , that is
40
+ > cpan Text::Hunspell
41
+ > cpan Lingua::EN::Fathom
42
+ with the obvious * sudo* in front if you don't use perlbrew.
32
43
33
- 8 . Edit (text/words.dic) for the specific words in your novel that
44
+ 9 . Edit (text/words.dic) for the specific words in your novel that
34
45
should pass the spell check, but do not. Remember that the first line
35
46
contains the number of words.
36
47
37
- 9 . There's a shortcut that processed the dictionary and does commit
48
+ 10 . There's a shortcut that processed the dictionary and does commit
38
49
and push for you, it's at text/commit.pl. You can use it cirectly or
39
50
do
40
51
> ln -s text/commit.pl c
41
52
Remember always to chmod +x commit.pl
42
53
43
- 10 . That's it. If you find trouble along the way, just let me know by
54
+ 11 . That's it, 10 points of it all . If you find trouble along the way, just let me know by
44
55
raising [ an issue] ( https://github.com/JJ/hoborg/issues )
45
56
46
57
Troubleshooting
47
58
---------------
48
59
49
- Remember that with the post-commit hook you'll be doing push in two
60
+ Remember that with the post-commit hook you have installed you'll be
61
+ doing push in two
50
62
branches at the same time. If you fall behind in a local installation,
51
- you have to checkout and pull in both; you can't just do a git pull
63
+ you will have to checkout and pull in both; you can't just do a git pull
52
64
since you'll be doing it only on the current branch. Do
53
65
> git pull
54
66
> git checkout gh-pages
0 commit comments