skyline-apiserver/devstack/README.rst
zhu.boxiang 8b288e1955 feat: Support to deploy skyline with devstack
Add devstack plugin for skyline to deploy by devstack.

There are six main functions for this plugin:
1. install_skyline: to install main dependency of environment,
skyline-apiserver and skyline-console
2. configure_skyline: to config skyline.conf for skyline-apiserver
and nginx.conf for nginx
3. init_skyline: create database of skyline and make db sync
4. start_skyline: start skyline-apiserver as systemd and start nginx
5. stop skyline: stop skyline-apiserver and stop nginx
6. cleanup_skyline: remove all config directories

Change-Id: I632f059b26a3d8612fc1008758f1844498ce7b84
2021-09-08 18:16:06 +08:00

26 lines
704 B
ReStructuredText

============================
Enabling Skyline in Devstack
============================
.. note::
Ubuntu 20.04 (Focal Fossa) is the most tested, and will probably go the smoothest.
1. Download DevStack::
git clone https://github.com/openstack-dev/devstack.git
cd devstack
2. Add this repo as an external repository in ``local.conf`` file::
> cat local.conf
[[local|localrc]]
enable_plugin skyline https://opendev.org/skyline/skyline-apiserver
To use stable branches, make sure devstack is on that branch, and specify
the branch name to enable_plugin, for example::
enable_plugin skyline https://opendev.org/skyline/skyline-apiserver master
3. run ``stack.sh``