Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9e0e86d17fe1de248ba4c6f96d12e87580f85b70

commit 9e0e86d17fe1de248ba4c6f96d12e87580f85b70
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Dec 2 23:07:29 2009 +0000

redmine-0.8.7-1-i686
*new package

diff --git a/source/network-extra/redmine/FrugalBuild 
b/source/network-extra/redmine/FrugalBuild
new file mode 100644
index 0000000..cd7766d
--- /dev/null
+++ b/source/network-extra/redmine/FrugalBuild
@@ -0,0 +1,25 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=redmine
+pkgver=0.8.7
+pkgrel=1
+pkgdesc="Redmine is a flexible project management web application written 
using Ruby on Rails framework."
+url="http://www.redmine.org/projects/redmine";
+rodepends=("rails" "rubygems")
+groups=('network-extra')
+archs=('i686' 'x86_64')
+up2date="Flasttar http://rubyforge.org/frs/?group_id=1850";
+source=(http://rubyforge.org/frs/download.php/67144/$pkgname-$pkgver.tar.gz 
README.Frugalware)
+sha1sums=('6c11d58e7d9d732be1e1225f45323167e4d4e739' \
+          '47a9d05bc22e9998f95335515c6ca1bfe6413c85')
+
+build()
+{
+       Fmkdir /var/www/html
+       Ffile $pkgname-$pkgver.tar.gz /var/www/html
+       cd $Fdestdir/var/www/html
+       tar -xzf $pkgname-$pkgver.tar.gz || Fdie
+       Fmv /var/www/html/$pkgname-$pkgver /var/www/html/$pkgname
+       Frm $pkgname-$pkgver.tar.gz
+}
diff --git a/source/network-extra/redmine/README.Frugalware 
b/source/network-extra/redmine/README.Frugalware
new file mode 100644
index 0000000..52e79a4
--- /dev/null
+++ b/source/network-extra/redmine/README.Frugalware
@@ -0,0 +1,45 @@
+Post Installation :
+
+Create an empty database and accompanying user named redmine for example.
+
+For Mysql:
+create database redmine character set utf8;
+create user 'redmine'@'localhost' identified by 'my_password';
+grant all privileges on redmine.* to 'redmine'@'localhost';
+
+For PostegreSQL:
+create database redmine character set utf8;
+create user 'redmine'@'localhost' identified by 'my_password';
+grant all privileges on redmine.* to 'redmine'@'localhost';
+
+Edit config/database.yml
+
+Generate a session store secret:
+cd /var/www/html/redmine/
+rake config/initializers/session_store.rb
+
+Create the database structure, by running the following command under the 
application root directory:
+RAILS_ENV=production rake db:migrate
+It will create tables and an administrator account.
+
+Insert default configuration data in database, by running the following 
command:
+RAILS_ENV=production rake redmine:load_default_data
+
+Fix permissions
+mkdir tmp public/plugin_assets
+chown -R redmine:redmine files log tmp public/plugin_assets
+chmod -R 755 files log tmp public/plugin_assets
+
+Test the installation by running WEBrick web server:
+ruby script/server webrick -e production
+see the result : http://localhost:3000/
+
+* login: admin
+* password: admin
+
+SMTP Configuration :
+Copy config/email.yml.example to config/email.yml and edit this file to adjust 
your SMTP settings.
+
+see http://www.redmine.org/wiki/redmine/RedmineInstall
+
+For use Apache : 
http://www.redmine.org/wiki/redmine/HowTo_configure_Apache_to_run_Redmine
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to