Ganeti Web Manager installation
Due to my efforts, Ganeti Web Manager is now a proper Python Package.
The main reasons for this change are:
- minimizing necessary dependencies (no more fabric!)
- keeping GWM codebase clean
- easing development
What does this change mean?
For end users
With GWM being Python package comes one huge advantage: easier installation. It’s actually one line to install whole GWM with dependencies!
Because my GSoC project is to make GWM installation easier for end users, I’m writing a setup script, that will create virtual environment (helps with separation), install GWM’s dependencies and then GWM itself.
To install Ganeti Web Manager, simply get
setup.sh
script, make it executable and run setup.sh -h
to get familiar with
it’s command line arguments.
For developers
To start working on GWM, you have to:
- make virtual environment
git clone
GWM repository- install GWM as a development package
(I suggest using virtualenvwrapper
for #1, as it keeps your directory
with code clean.)
In shell terms it looks like this:
And that’s it, now you can work on GWM. (Alternatively you could install GWM development dependencies instead of whole package:)