Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Dann Stayskal's portfolio site
HTML CSS JavaScript Other
tree: d907e15160

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
content
layouts
lib
licenses
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
Rules
config.yaml
push

README.md

dann.stayskal.com

This is the codebase that runs Dann Stayskal's 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/danndalf/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:

$ nanoc autocompile

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

TODO

  • Move photography assets into S3
  • Integrate automatic HTML, CSS, and RSS validations

Deployment

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

$ nanoc compile -f
$ rake deploy:rsync

Easy as pie.

Something went wrong with that request. Please try again.