46 lines
915 B
Markdown
46 lines
915 B
Markdown
Installation
|
|
============
|
|
|
|
API Server
|
|
----------
|
|
|
|
SECURITY NOTE: Not for production use! This server does not provide sufficient
|
|
security to operate in a production environment.
|
|
|
|
1. Ensure the server's dependencies are installed:
|
|
|
|
+ anyjson
|
|
+ inception itself (oslo.config, ipython)
|
|
+ pastescript
|
|
+ routes
|
|
+ sqlalchemy
|
|
|
|
2. Create the database
|
|
|
|
$ python inception/api/server.py # needed first time only
|
|
|
|
3. Run server
|
|
|
|
$ paster serve ./etc/inception/paste-config.ini
|
|
|
|
Web UI
|
|
------
|
|
|
|
1. Install the inception package as usual.
|
|
|
|
2. Locate and modify Horizon's openstack_dashboard/settings.py to include 'inception.webui'
|
|
in the INSTALLED_APPS tuple.
|
|
|
|
E.g.
|
|
|
|
INSTALLED_APPS = (
|
|
'openstack_dashboard',
|
|
'django.contrib.contenttypes',
|
|
'django.contrib.auth',
|
|
. . .
|
|
'inception.webui',
|
|
. . .
|
|
)
|
|
|
|
3. Restart the Horizon service.
|