Editing OpenSuse Build Service/Installation

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 391: Line 391:
<source lang='bash'>
<source lang='bash'>
vi /srv/www/obs/webui/config/environments/production.rb
vi /srv/www/obs/webui/config/environments/production.rb
-
FRONTEND_HOST = "api.obs.maemo.org"
+
FRONTEND_HOST = "api.maemo.org"
-
FRONTEND_PORT = 80
+
-
EXTERNAL_FRONTEND_HOST = "api.obs.maemo.org"
+
-
BUGZILLA_HOST = "http://bugs.maemo.org/"
+
-
DOWNLOAD_URL = "http://downloads.obs.maemo.org"
+
</source>
</source>
Do the same for /srv/www/obs/api/config/environments/production.rb. As soon your backend is not on the same machine as the api (frontend), change the following:
Do the same for /srv/www/obs/api/config/environments/production.rb. As soon your backend is not on the same machine as the api (frontend), change the following:
<source lang='bash'>
<source lang='bash'>
vi /srv/www/obs/api/config/environments/production.rb
vi /srv/www/obs/api/config/environments/production.rb
-
SOURCE_HOST = "src.obs.maemo.org"
+
SOURCE_HOST = "obs-be.maemo.org"
SOURCE_PORT = 5352
SOURCE_PORT = 5352
</source>
</source>
Line 419: Line 415:
ligthttpd user and group need to be the owner of api and webui dirs (as well as log and tmp):
ligthttpd user and group need to be the owner of api and webui dirs (as well as log and tmp):
<source lang='bash'>
<source lang='bash'>
-
chown -R lighttpd.lighttpd /srv/www/obs/{api,webui}
+
chown -R lighttpd.lighttpd /srv/www/obs/{api,webui}/{log,tmp}
</source>
</source>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)