Ask Your Question
0

how to restart horizon(dashboard) alone in devstack

asked 2012-03-25 12:34:50 -0600

ashokcse gravatar image

Hi all I used devstack to install openstack (diablo) . I am adding some codes in horizon. Every time to test the code I am doing /.stack.sh. This take so much time to test even a single change.

Can anyone tell me how can I restart the horizon alone in devstack installation (so that only those .py code will compile again)

Thank you

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2012-03-25 13:24:24 -0600

andycjw gravatar image

you can do 'sudo service apache2 restart' to restart the webserver or if you're doing testing, you can just go to the horizon code and run 'python ./manage.py runserver' it'll run another server on separate port, default is 8080, it will auto reload every times you made any changes

edit flag offensive delete link more
0

answered 2012-03-25 14:01:49 -0600

ashokcse gravatar image

Thanks Andy

That will save plenty of my time...

edit flag offensive delete link more
0

answered 2012-03-25 14:01:54 -0600

ashokcse gravatar image

Thanks Andy Chong, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-03-25 12:34:50 -0600

Seen: 4,997 times

Last updated: Mar 25 '12