Permalink
Browse files

switch to using bundler for managing packages

update build info to match too
  • Loading branch information...
tlnagy committed Sep 8, 2017
1 parent 490234a commit 964a6de6519cf58b2acd7d1960d848625ca84d9a
Showing with 31 additions and 14 deletions.
  1. +3 −0 .gitignore
  2. +14 −0 Gemfile
  3. +14 −14 blog/_posts/2016-01-23-building-jekyll-site-debian.md
View
@@ -4,3 +4,6 @@ _drafts/
# autogen file
assets/tamasnagy_cv.pdf
# ruby
Gemfile.lock
View
14 Gemfile
@@ -0,0 +1,14 @@
source 'https://rubygems.org'
gem 'jekyll'
gem 'jekyll-paginate'
gem 'kramdown'
gem 'pygments.rb'
gem 'jekyll-gallery-generator'
gem 'jekyll-pandoc'
gem 'jekyll-avatar'
# support for auto reloading page in browser when changed
group :jekyll_plugins do
gem 'jekyll-livereload'
end
@@ -10,33 +10,33 @@ site's stack. It's now pretty simple getting it to work on a fresh Linux
install. For example, on [Debian Jessie](https://debian.org), install the
following packages:
```
```
sudo apt-get install ruby ruby-dev git imagemagick libmagickwand-dev pandoc pandoc-citeproc
```
If using an older version of jekyll (<3) then also install a valid
Javascript runtime like NodeJS[^1]:
then install [bundler](http://bundler.io/)
```
sudo apt-get install nodejs
sudo gem install bundler
```
then install all the required Ruby gems:
Next, clone the git repo and navigate into the directory
```
sudo gem install jekyll -v 2.5.1
sudo gem install exifr rmagick jekyll-pandoc
git clone https://github.com/tlnagy/tnsite.git
cd tnsite
```
Finally clone the git repo and build the site:
and run bundler to install all ruby dependencies
```
git clone https://github.com/tlnagy/tnsite.git
cd tnsite
jekyll serve
bundle
```
Voilà
Finally, build and serve the website with Jekyll:
[^1]: This is still required to build this site until I fix
<https://github.com/tlnagy/tnsite/issues/3>
```
jekyll serve -wi
```
Voilà

0 comments on commit 964a6de

Please sign in to comment.