Setup the development environment of openStack

Asked by Vincent Hou

I am willing to become a source code committer of OpenStack. I would like ask the developer of OpenStack. How do you setup your development environment of Nova, Swift, Glance, Horizon, Keystone? Thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
Last query:
Last reply:
Revision history for this message
Best Vish Ishaya (vishvananda) said :
#1

There is a great script for installing a dev environent:

http://devstack.org

I personally use osx so I use vagrant to configure an oneiric box for use with devstack.

https://gist.github.com/1297044

On Jan 12, 2012, at 7:15 PM, houshengbo wrote:

> New question #184580 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/184580
>
> I am willing to become a source code committer of OpenStack. I would like ask the developer of OpenStack. How do you setup your development environment of Nova, Swift, Glance, Horizon, Keystone? Thank you in advance.
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Zhongyue Luo (zyluo) said :
#2

The environment that I'm using is the venv make by running ./run_test.sh.

If you run the script, an ".venv" folder is created where are you can start off as an dev env.

Just activate virtualenv and pip install MySQL-python and keystone, then you can check your changes directly off your git clone.

This method of making a dev env can be applied to all seven major OpenStack projects.

Revision history for this message
Vincent Hou (houshengbo) said :
#3

Thanks Vish Ishaya, that solved my question.