public
Description: alltom on thin
Homepage: http://alltom.com/
Clone URL: git://github.com/AllTom/talltom.git
Search Repo:
Thomas Lieber (author)
Mon Apr 14 11:15:17 -0700 2008
commit  96f2f63cc5188d17a3d046073b6fe30c2546d7d1
tree    8de10c5ea8d6dd09e0528fefca74d686efd8fb8f
parent  5270d4cb47f5fdce1871a3d11414ab1855217b2f
name age message
folder .gitignore Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder README Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder alltom Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder database.yml.example Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder helpers.rb Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder models.rb Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder post Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder schema.sql Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder stylesheets/ Fri Apr 11 16:46:24 -0700 2008 Imported old sources [Thomas Lieber]
folder templates/ Mon Apr 14 11:15:17 -0700 2008 Updated footer with new source code address [Thomas Lieber]
README
TAllTom - AllTom on Thin
An exercise in building a small web site on Thin itself.

Please let me know if you use this! :)
Tom Lieber <tom@alltom.com>

- A few gems are required: activerecord, feed_tools, thin, haml, and
  probably some others.
- Load schema.sql into a database supported by ActiveRecord. The SQL
  comes from MySQL, but uses nothing special, so it should load into
  other database servers with little effort.
- Move database.yml.example to database.yml and update it with
  information on how to connect to the database you configured.
- Start the server by running  ./alltom  . That will start an HTTP
  server on port 8000 (configured at the bottom of the script).

The "post" script is designed to be used as the login shell for an
account that is only used for changing the content of the site. It
allows for simple operations like adding/editing/deleting pages,
creating new revisions of pages, adding site news, etc. Install it by
setting up such an account, configuring the script as its shell (easiest
way is by editing /etc/passwd), and attempting to log in as that user
over SSH. The available arguments will be displayed.