From 85f7d3a6f2888f6319b9e9bb0aa5af5904f30000 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Mon, 15 Apr 2013 16:21:18 +0400 Subject: [PATCH] quickstart has been updated Change-Id: Iec93cd8b9394fc47a045edd8b3d26a251cd555f8 DocBuild --- doc/source/quickstart.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst index 680f413c..c128cf51 100644 --- a/doc/source/quickstart.rst +++ b/doc/source/quickstart.rst @@ -119,12 +119,13 @@ You should see the output similar to the following: cd savanna -3.3 Install python headers and virtualenv: +3.3 Install python headers, virtualenv and tox: .. sourcecode:: bash apt-get update apt-get install python-dev python-virtualenv + pip install tox 3.4 Prepare virtual environment: @@ -148,13 +149,15 @@ You should see the output similar to the following: .. sourcecode:: bash - .venv/bin/python bin/savanna-manage --config-file etc/savanna/savanna.conf reset-db --with-gen-templates + tox -evenv -- savanna-manage --config-file etc/savanna/savanna.conf reset-db --with-gen-templates + +Virtualenv with all requirements installed into it is now available in ``.tox/venv``. You can create it by executing ``tools/install_venv``. 3.8 To start Savanna call: .. sourcecode:: bash - .venv/bin/python bin/savanna-api --config-file etc/savanna/savanna.conf --allow-cluster-ops + tox -evenv -- savanna-api --config-file etc/savanna/savanna.conf --allow-cluster-ops Now Savanna service is running. Further steps show how you can verify from console that Savanna API works properly.