@@ -47,8 +47,20 @@ permalink: /en/2016/01/01/short-title
47
47
48
48
## Building
49
49
50
- This website is based on Jekyll. To build locally, [ install Ruby 2.2.2] ( https://gorails.com/setup ) or greater
51
- and then run the following commands:
50
+ This website is based on [ Jekyll] ( https://jekyllrb.com/ ) . To build
51
+ locally, [ install Ruby 2.2.2] ( https://gorails.com/setup ) using system
52
+ packages, [ rvm] ( https://rvm.io ) , or another method. Then clone this
53
+ repository and change directory into it:
54
+
55
+ git clone https://github.com/bitcoin-core/bitcoincore.org.git
56
+ cd bitcoincore.org
57
+
58
+ Install the ` bundle ` utility using the Ruby package manager, ` gem ` , and
59
+ then use ` bundle ` to install the rest of the Ruby packages needed to
60
+ build this site. Note, depending on your system configuration, you may
61
+ need to run ` gem ` as the superuser by putting "sudo" followed by a space
62
+ before the ` gem ` command. You shouldn't need to use ` sudo ` with the
63
+ ` bundle ` command.
52
64
53
65
gem install bundle
54
66
bundle install
@@ -66,7 +78,8 @@ pages dated in the future (such as prepared release announcements).
66
78
67
79
To test the site:
68
80
69
- bundle exec jekyll build --future --drafts --unpublished && bundle exec htmlproof ./_site
81
+ bundle exec jekyll build --future --drafts --unpublished
82
+ bundle exec htmlproof --disable-external --url-ignore '/^\/bin/.*/' ./_site
70
83
71
84
The additional parameters to ` jekyll build ` ensure that all possible
72
85
pages are built and checked.
0 commit comments