Update Development & Migration Docs
With the newer versions of tox the syntax has changed for how to run storyboard-db-manage, storyboard-api, etc. This patch makes the necessary updates to reflect those changes so that the commands work. Change-Id: I0e52a2816ae7a4f6406cf0aa71cbf988e24ba66f
This commit is contained in:
parent
90fde5756b
commit
923495c192
|
@ -80,12 +80,12 @@ Installing and Upgrading the API server
|
|||
|
||||
7. Upgrade DB schema to the latest version::
|
||||
|
||||
tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head"
|
||||
tox -e venv -- storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head
|
||||
|
||||
|
||||
8. Start the API server::
|
||||
|
||||
tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"
|
||||
tox -e venv -- storyboard-api --config-file ./etc/storyboard.conf
|
||||
|
||||
|
||||
Installing the Javascript-based web client
|
||||
|
@ -157,7 +157,7 @@ Optional steps: Seed database with base data
|
|||
|
||||
2. Enable the superusers in the database::
|
||||
|
||||
tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf load_superusers ./etc/superusers.yaml"
|
||||
tox -e venv -- storyboard-db-manage --config-file ./etc/storyboard.conf load_superusers ./etc/superusers.yaml
|
||||
|
||||
|
||||
3. If you want to quickly set up a set of projects and project groups in the
|
||||
|
@ -167,7 +167,7 @@ Optional steps: Seed database with base data
|
|||
|
||||
4. Create the projects and projectgroups in the DB::
|
||||
|
||||
tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf load_projects ./etc/projects.yaml"
|
||||
tox -e venv -- storyboard-db-manage --config-file ./etc/storyboard.conf load_projects ./etc/projects.yaml
|
||||
|
||||
|
||||
Optional steps: Set up the notifications daemon
|
||||
|
|
|
@ -79,10 +79,10 @@ Test Migration
|
|||
|
||||
You can do this with the following command::
|
||||
|
||||
tox -e venv "storyboard-migrate
|
||||
tox -e venv -- storyboard-migrate
|
||||
--config-file etc/storyboard.conf
|
||||
--from-project $PROJECT_IN_LAUNCHPAD
|
||||
--to-project $PROJECT_IN_STORYBOARD"
|
||||
--to-project $PROJECT_IN_STORYBOARD
|
||||
|
||||
Here, `$PROJECT_IN_LAUNCHPAD` should be replaced by the name of the
|
||||
project in Launchpad, for example `monasca`. Similarly,
|
||||
|
|
Loading…
Reference in New Issue