6 Currently we have use `Fabric`, a tool for streamlining administration
7 tasks, to deploy |gwm|.
9 Before installing |gwm|, make sure you have all the required
10 :ref:`dependencies` installed.
16 #. Download and unpack the `latest
17 release <http://code.osuosl.org/projects/ganeti-webmgr/files>`_,
18 currently this is `0.9.2
19 <https://code.osuosl.org/attachments/download/3231/ganeti-webmgr-0.9.2.tar.gz>`_.
22 # Use wget or curl to download from the command line.
23 wget https://code.osuosl.org/attachements/download/3231/ganeti-webmgr-0.9.2.tar.gz
25 #. Change to the project directory.
31 #. Run Fabric to automatically create a python virtual environment and
32 install required dependencies. This may take a few minutes.
36 # Deploy a production environment
39 .. versionchanged:: 0.10
40 `fab prod deploy` is now `fab deploy`. `fab dev deploy` is still
43 .. Note:: If you would like a more noisy output, adding `v`, as in
44 `fab v deploy`, will provide more verbosity.
46 #. While in the project root, copy the default settings file
47 **settings.py.dist** to **settings.py**:
51 cp settings.py.dist settings.py
57 Getting |gwm| up and running requires a minimum configuration of a
58 database server. If you don't have a database server available, and are
59 fine using SQLite, you can skip this step.
61 #. Edit **settings.py** and change the database backend to your
62 preferred database along with filling any any relevant details
63 relating to your database setup.
69 # Add 'postgresql_psycopg2', 'postgresql', 'mysql',
70 # 'sqlite3' or 'oracle'.
71 'ENGINE': 'django.db.backends.',
73 # Or path to database file if using sqlite3.
76 # Not used with sqlite3.
79 # Not used with sqlite3.
82 # Set to empty string for localhost. Not used with sqlite3.
85 # Set to empty string for default. Not used with sqlite3.
93 #. Initialize Database:
99 # Create new tables and migrate all apps using southdb
100 ./manage.py syncdb --migrate
104 .. Note:: This assumes your doing a fresh install of |gwm| on a new Postgres database.
108 ./manage.py syncdb --all
109 ./manage.py migrate --fake
111 #. Build the search indexes
115 ./manage.py rebuild_index
117 .. Note:: Running **./manage.py update\_index** on a regular basis
118 ensures that the search indexes stay up-to-date when models change in
124 Congradulations! |gwm| is now installed and initialized. Next, you'll want
125 to look into :ref:`configuring` and :ref:`deploying`, if you are going
126 to be setting up a production instance. Otherwise, if you just want to
127 play around with |gwm|, or are :ref:`developing <development>`, take a look at