Installing typo with the installer

Posted by Paul Verreth Fri, 02 Feb 2007 21:05:00 GMT

(De nederlandse versie van dit artikel)

The most recent version (4.0.3) of typo has a gem based installer included. Installing the typo weblog server is now fairly easy to do.

See also: ScottStuff

gem install typo --include-dependencies

typo install directory bind-address=127.0.0.1 port-number=3010 database=mysql
db_name=xxx db_user=xxx db_password=xxx

For installing typo: typo install directory var1=val1 var2=val2 ....

To modify the config: typo config directory var1=val1 var2=val2 ...


But attention:

Modification for the database params, as mentioned above, have no effect. You need to change them manually in the rails database config: /path/to/typo/config/database.yml


For displaying the current config: typo config directory

Wich gives the following result, and at once the possible parameters:

typo config typo

database=mysql
db_name=typo
db_user=xxx
db_password=xxx
port-number=xxx
rails-environment=production
threads=2
web-server=mongrel
Other useful options/variables are:
bind-address
url-prefix

To start and to stop:

 
typo start /path/to/typo

typo stop /path/to/typo

Posted in  | Tags

Comments are disabled