My blog.
-
Pagination for archive / tags pages.
-
Markdown for post content (see: maruku gem)
-
Potential syntax highlighting for code posts (see: syntax gem)
-
bin/* files, like unicorn wrapper etc
-
Attachments for posts. Would just be files on disk, should be simple.
-
Image(s) for posts? Perhaps only single.
This is actually 1.9.2 but the package name is wrong.
-
Ruby.
sudo apt-get install ruby1.9.1 ruby1.9.1-dev cd /usr/bin sudo ln -s ruby1.9.1 ruby sudo ln -s gem1.9.1 gem sudo ln -s irb1.9.1 irb sudo vim /etc/environment # Add /var/lib/gems/1.9.1/bin to the PATH sudo gem install bundler
-
Postgres
sudo apt-get install postgresql sudo perl -pi -e 's/^(host .* 127.0.0.1\/32 .*) md5/$1 trust/' /etc/postgresql/8.4/main/pg_hba.conf sudo perl -pi -e 's/^(local .*) ident/$1 trust/' /etc/postgresql/8.4/main/pg_hba.conf sudo /etc/init.d/postgresql reload sudo su - postgres -c 'createuser -s danial' createdb blog
-
Dependencies for swift gem
sudo apt-get install python-software-properties sudo add-apt-repository ppa:deepfryed/dbic++ sudo apt-get update sudo apt-get install dbic++-dev dbic++-pg
-
Initial website deploy
cd /srv git clone git@github.com:tigris/blog.tigris.id.au.git
-
Symlink the git hook
cd /srv/www.tigris.id.au/.git/hooks ln -s ../../config/hooks/post-merge
-
Setup the lighttpd config
cd /etc/lighttpd/conf-enabled sudo cp /srv/www.tigris.id.au/config/lighttpd/blog.tigris.id.au .