Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Webclient running locally (was: Suggestion for Buildservice web interface)
  • From: "Rafal Kwasny" <rafal.kwasny@xxxxxxxxx>
  • Date: Tue, 6 Feb 2007 18:18:28 +0100
  • Message-id: <801d89860702060918v41654eafx2ba9d3284768db84@xxxxxxxxxxxxxx>
On 2/6/07, Dirk Stoecker <opensuse@xxxxxxxxxxxx> wrote:
Hello,

I'm still not able to run the webclient locally and accessing the build
service on api.opensuse.org.

Quick howto on setting up local web interface:

Ruby on rails depending on which mode you are running
development/testing/production takes different configs into account

config/environments/development.rb for development
config/environments/test.rb for testing
config/environments/production.rb for production

when you run ./script/server it assumes you are developing and read
development.rb

What you have to do to work directly with buildservice is edit
config/environments/development.rb and set:

FRONTEND_HOST = "api.opensuse.org"
FRONTEND_PORT = 80
ICHAIN_MODE = "on"

delete ( or # ) ICHAIN_TEST_USER= "test"

EOF

now run ./script/server
point your browser to http://localhost:3000
and you've got a fully functioning web client on your machine


--
Regards
^^MAg^^ mailto:/jid: rafal.kwasny@xxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups