Skip to content

dginst/dginst.github.io

Repository files navigation

Repo for the Digital Gold Institute website

[www.dgi.io]({{ site.baseurl }})

Testing your GitHub Pages site locally with Jekyll

The first time setup requires:

gem install bundler

Project dependencies are listed in the Gemfile, so install them from the project's root:

bundle install

Then, every time:

$ bundle exec jekyll serve
Configuration file: C:/path/to/repo/dginst.github.io/_config.yml
            Source: C:/path/to/repo/dginst.github.io
       Destination: C:/path/to/repo/dginst.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 25.31 seconds.
 Auto-regeneration: enabled for 'C:/path/to/repo/dginst.github.io'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.

To preview your site, in your web browser, navigate to http://127.0.0.1:4000

From time to time you might want to update the GitHub Pages gem:

$ bundle update github-pages
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies....
Using concurrent-ruby 1.1.5
Using i18n 0.9.5
Fetching minitest 5.14.0 (was 5.13.0)
Installing minitest 5.14.0 (was 5.13.0)
[...]
Using terminal-table 1.8.0
Fetching github-pages 204 (was 203)
Installing github-pages 204 (was 203)
Bundle updated!

See also: