From 15cca4a9d4835aa383239a2a65a321218aec23b2 Mon Sep 17 00:00:00 2001 From: pkomarov Date: Sun, 21 Apr 2019 09:54:06 +0300 Subject: [PATCH] Add copypastable quick start section manual users should have the first setup steps spoon fed in detail and copy pastable , to avoid first impression rejection ... Change-Id: I564014f5bd255d07b2b2872810ce7f0318622986 --- docs/quick-start.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/docs/quick-start.md b/docs/quick-start.md index 942763d27..aee45dec3 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -1,7 +1,7 @@ # Quick start guide ## Install Tobiko - +sudo yum install python-virtualenv virtualenv path/to/yuor/venv source path/to/yuor/venv/bin/activate pip install tobiko @@ -39,3 +39,36 @@ You can do it in one of two ways: To run neutron tests, use the following command: tox -e neutron + + +## Quick Start Setup&Run Template: +```bash +sudo yum install python-virtualenv.noarch -y +virtualenv ~/tobiko_venv && source ~/tobiko_venv/bin/activate +wget https://bootstrap.pypa.io/get-pip.py +python get-pip.py +pip install tox +sudo yum install gcc python-devel -y +git clone https://opendev.org/x/tobiko.git +cd tobiko +pip install -r extra-requirements.txt; pip install . + +. ~/overcloudrc +wget http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img +openstack image create "cirros" \ + --file cirros-0.3.5-x86_64-disk.img \ + --disk-format qcow2 --container-format bare \ + --public +openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.tiny + +cat > tobiko.conf <