[opensuse-buildservice] patch for obs-api-0.9.1-3.1
Hi, followed README.SETUP and found some mistakes, as I see. I should configure MySQL user and password in 'production' section. And later I should populate the database with # RAILS_ENV="production_slave" rake db:migrate which will not work. So I think "production_slave:" section is meant. password is opensuse and not openSUSE updaters, should also do a # RAILS_ENV="production_slave" rake db:migrate and not only rake db:migrate, because they have changed their database from development to production, haven't they ? patch attached Kind Regards Chris --- README.SETUP.org 2008-04-25 15:21:02.000000000 +0000 +++ README.SETUP 2008-05-04 22:15:44.000000000 +0000 @@ -98,7 +98,7 @@ TO 'obs'@'%', 'obs'@'localhost'; * Configure your MySQL user and password in - in the "production:" section of these files: + in the "production_slave:" section of these files: /srv/www/obs/frontend/config/database.yml /srv/www/obs/webclient/config/database.yml @@ -244,7 +244,7 @@ http://127.0.42.1 -The default user is "Admin" with the password "openSUSE". +The default user is "Admin" with the password "opensuse". 6. Using osc with your local build service: @@ -326,7 +326,7 @@ upgrade the database. Therefore, you should do # cd /srv/www/obs/frontend/ - # rake db:migrate + # RAILS_ENV="production_slave" rake db:migrate after updating obs-api.
On Monday 05 May 2008 00:27:31 wrote Christian:
Hi,
followed README.SETUP and found some mistakes, as I see. I should configure MySQL user and password in 'production' section. And later I should populate the database with # RAILS_ENV="production_slave" rake db:migrate which will not work. So I think "production_slave:" section is meant.
password is opensuse and not openSUSE
updaters, should also do a # RAILS_ENV="production_slave" rake db:migrate and not only rake db:migrate, because they have changed their database from development to production, haven't they ?
correct, thanks for that, it is applied to trunk/ bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Christian