linenoise / portfolio

The static site generator for Danne Stayskal's portfolio

Home Page:http://danne.stayskal.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The static site generator for Danne Stayskal's portfolio

http://danne.stayskal.com/


Languages

Language:HTML 86.0%Language:SCSS 5.9%Language:JavaScript 4.8%Language:CSS 1.8%Language:Ruby 1.4%Language:Shell 0.1%