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 | + | FRONTEND_HOST = "api.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 = " | + | 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.