Backend Installation

Talia comes with some simple backend classes for administration tasks. In the future, we'll expand the administration interface to give you even more control over the installation. The backend is based on Hobo, making it very extensible and having the nice side effect that you may use Hobo's DRYML markup in any part of your Talia application (once installed).

This guide assumes that you have done the basic installation.

Installation

Talia comes with a generator that will install all the backend files for you and modify the routes.rb and environment.rb files for use with Hobo. Just run

jruby script/generate talia_admin

to get started.

The backend depends on the Hobo gem. If you haven't installed that yet, Talia will complain about the missing gem once you try to start the application. To remedy this, you can install the gem doing:

rake gems:install

The generator also creates a new database migration for the user table, which you need to run as a final step:

rake db:migrate

At this point, you should have the admin backend installed.

Using the admin backend

To use the administration backend, navigate to http://localhost:3000/admin (obviously, replace "localhost:3000" with the URL of your installation if you have a non-local installation).

The first time around, there will be no administrator account, so you will be greeted with a form to create one:

Create the first administrator account in the backend

Just enter the details for your admin account, and go. The system will redirect you to the "front page" of the installation, which may be an empty default page. Just enter the administration URL again, and you should be ready to use the admin backend.

Administration front page

Note that in the "development" mode, you can switch users from the top panel - obviously you don't want to put that feature on a public web site.

Attachments