cc2df1858d
Change-Id: Ib28f48bad93d119d0aa44324e9cb0fe7c1a12754
1.6 KiB
1.6 KiB
Installing and Running the Development Version
Storyboard has two components: this API server, and the Javascript-based web client.
Installing the API server
To start the API server, make sure you have the following packages installed locally:
- libpq-dev
- libmysqlclient-dev
Clone storyboard:
git clone https://git.openstack.org/openstack-infra/storyboard cd storyboard
Add MySQL user and create database:
mysql -u $DB_USER -p $DB_PASSWORD -e 'DROP DATABASE IF EXISTS storyboard;' mysql -u $DB_USER -p $DB_PASSWORD -e 'CREATE DATABASE storyboard;'
Copy the sample configuration file:
cp ./etc/storyboard.conf.sample ./etc/storyboard.conf
Edit
./etc/storyboard.conf
and set theconnection
parameter in the[database]
section.Upgrade DB schema to the latest version:
tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head"
Start the API server:
tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"
Installing the Javascript-based web client
To build and start the web client, make sure you have the following packages installed locally:
- Xvfb
- GCC 4.2 or newer
- Python 2.6 or 2.7
- GNU Make 3.81 or newer
- libexecinfo (FreeBSD and OpenBSD only)
Clone storyboard:
git clone https://git.openstack.org/openstack-infra/storyboard-webclient cd storyboard-webclient
Run a local development server:
tox -egrunt_no_api server