The static site generator for Danne Stayskal's portfolio
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
layouts
lib
licenses
site @ 344949e
.gitignore
.gitmodules
.ruby-version
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
Rules
config.yaml
publish

README.md

danne.stayskal.com

This is the codebase that runs Danne Stayskal's portfolio site. It is developed using nanoc and rsynced in static form to the server.

Installation

Prerequisites: OpenSSH, Rsync, Ruby, RubyGems, Ruby Version Manager, and Bundler.

First, clone this codebase

$ git clone git@github.com/linenoise/portfolio

Second, accept the RVM version and gemset, building Ruby 1.9.2 if you need

$ rvm install ruby-1.9.2-p180

Finally, install Bundler and the rest of the gemset

$ gem install bundler
$ bundle install

At this point, you're ready to make changes.

Maintenance

This codebase uses nanoc to build a tree of static HTML, CSS, and JavaScript resources to be uploaded to the server. Assets (such as images and recordings) are included in this final build. Once Bundler has nanoc and friends installed, running a maintenance server is straightforward:

$ bundle exec guard
$ bundle exec nanoc view

This will automatically compile any changes made to the build and make them available through a lightweight webserver running at http://localhost:3000/.

Deployment

To deploy, make sure you've got your deploy keys in place, then run:

$ ./push

Easy as pie.

Credits

Danne Stayksal

Unless otherwise noted, all content on this site is copyright © 1998-2016 Danne Stayskal and available to you under the Creative Commons BY-NC-SA 3.0 license. All exceptions to this license are noted in the colophon for this site.