samsoffes / samsoff.es

My new Rails blog (work in progress)

This URL has Read+Write access

name age message
file .gitignore Wed Dec 16 20:11:38 -0800 2009 Updated for Bundler support on Heroku [samsoffes]
file Gemfile Wed Dec 16 20:22:38 -0800 2009 Fixed Gemfile [samsoffes]
file Rakefile Sun Nov 22 16:15:48 -0800 2009 Reinstalled Rails 2.3.4 [samsoffes]
file Readme.markdown Wed Dec 16 22:28:17 -0800 2009 Updated admin credentials again [samsoffes]
directory app/ Thu Dec 17 20:25:40 -0800 2009 Trying out the asset packager [samsoffes]
directory config/ Wed Dec 16 22:33:48 -0800 2009 Added admin route and fixed credentials (hopefu... [samsoffes]
directory db/ Wed Dec 16 21:52:51 -0800 2009 Generated comments [samsoffes]
directory features/ Sun Nov 29 21:24:42 -0800 2009 Generated Cucumber, added home, and updated routes [samsoffes]
directory lib/ Sun Nov 29 21:24:42 -0800 2009 Generated Cucumber, added home, and updated routes [samsoffes]
directory public/ Thu Dec 17 20:25:40 -0800 2009 Trying out the asset packager [samsoffes]
directory script/ Sun Nov 29 21:24:42 -0800 2009 Generated Cucumber, added home, and updated routes [samsoffes]
directory spec/ Wed Dec 16 22:20:07 -0800 2009 Updates to admin [samsoffes]
directory vendor/ Thu Dec 17 20:38:05 -0800 2009 Forget the packager for now [samsoffes]
Readme.markdown

samsoff.es

Note: This is a massive work in progress. Pretty much everything is broken or incomplete.

This is my new blog I am rewriting in Rails. I moved my blog to Jekyll a few weeks ago and really missed playing with a Rails app, so I'm moving it back and starting from scratch.

My current blog is still at http://samsoff.es. You can see this version at http://new.samsoff.es until I make it live.

Running Locally

I'm very proud to be using the new Bundler (which you need to install if you haven't already). I'm also using Postgres. If you don't have it already, you'll need to install it. I wrote a blog post on how to install Nginx and Postgres that might be helpful. You can skip over the Nginx parts if you want.

Run the following queries to setup the user in Postgres:

$ psql postgres
# CREATE USER samsoffes SUPERUSER;
# \q

Now all you need to do to get going, all you need to is bundle and setup the database:

$ gem bundle
$ rake db:create
$ rake db:schema:load

If you have issues getting it up and running, send me an email.

Admin

The default credentials for the admin area are admin and passw0rd. These are obviously different on production or if you have environment variables for ADMIN_USERNAME and ADMIN_PASSWORD.

Goals for new version

Dream goals

  • Use Cappuccino for admin
  • Implement custom music player