public
Description: This repo is no longer active, please refer to http://github.com/FreerangeFuture/gluttonberg/
Home | Edit | New

Installation

Starting the installation of Gluttonberg this afternoon on my system, these notes can help others.

I suppose we’ve already got all the merb-sack installed, then you’ll still need to install a missing gem:

sudo gem install dm-is-list

Then, you’ll need to create the database:

cd gluttonberg
mkdir db
touch db/development.db

You can now launch this slice as a standalone:

slice

Connect to the app via your browser: http://localhost:4000

You now need to bootstrap the database. Unfortunately we don’t have a rake task to do this yet, so we need to do it manually — bleh. The gluttonberg/README has some instructions.

To migrate the db and add an admin user, you need to go into an interactive session and run a few commands.

$ slice -i
>> DataMapper.auto_migrate!
>> Gluttonberg::User.create({:name => 'admin', :email => 'admin@localhost.localdomain',
  :password => 'password', :password_confirmation => 'password'})

then you can hit http://localhost:4000/admin

Last edited by nikc, Mon Nov 24 20:06:08 -0800 2008
Home | Edit | New
Versions: