Created Freebsd (textile)

bsag 2011-07-16 08:17:15 -07:00
parent 84fa1fd53b
commit c8d34530f2

54
Freebsd.textile Normal file

@ -0,0 +1,54 @@
h1. FreeBSD
h2. Tracks 1.7 installation on FreeBSD 8.0 with sqlite3 as database
h3. Prerequisite: install this packages from ports:
<code>
sqlite3
ruby+oniguruma
ruby18-aspectr
ruby18-bdb
ruby18-dbd_sqlite3
ruby18-dbi
ruby18-fcgi
ruby18-gems
ruby18-iconv
ruby18-mysql
rubygem-actionmailer
rubygem-actionpack
rubygem-activerecord
rubygem-activeresource
rubygem-activesupport
rubygem-addressable
rubygem-data_objects
rubygem-deprecated
rubygem-do_mysql
rubygem-do_sqlite3
rubygem-extlib
rubygem-rack
rubygem-rails
rubygem-rake
rubygem-redcloth
rubygem-sqlite3
</code>
May be some of them aren't needed (like the mysql-packages).
h3. Set up Tracks
Download the Tracks zip file and unpack it to a suitable location, e. g. /usr/local
cd into the Tracks home directory and set up the sqlite database (only, if you don't already have a tracks database!)
<code>
rake db:migrate RAILS_ENV=production
</code>
h3. Test yor Tracks installation
After completing successfully, you can start Tracks from within the tracks home directory
<code>
script/server -e production
</code>
Now you should be able to access your Tracks installation by your browser (http://myserverip:3000)