summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-14 21:43:55 +0000
committerGerrit Code Review <review@openstack.org>2017-06-14 21:43:55 +0000
commit34647caff72a674c1f67ade48ffaa21f2e252985 (patch)
tree59314a669f3b06a430409ea8978e7096856a5a49
parent829a961d733c023c8e7ad43a46d7a2071fc105a2 (diff)
parent7ce250f2c30596926e7648fb41e8699e82d61597 (diff)
Merge "Fix the CLI symbol in the quickstart doc"
-rw-r--r--doc/source/quickstart.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst
index 696d21f..a8a2f62 100644
--- a/doc/source/quickstart.rst
+++ b/doc/source/quickstart.rst
@@ -17,13 +17,13 @@ On Ubuntu
17 17
18.. code-block:: console 18.. code-block:: console
19 19
20 # sudo apt-get install git python-pip 20 $ sudo apt-get install git python-pip
21 21
22On RPM-based distributions (e.g., Fedora/RHEL/CentOS/Scientific Linux) 22On RPM-based distributions (e.g., Fedora/RHEL/CentOS/Scientific Linux)
23 23
24.. code-block:: console 24.. code-block:: console
25 25
26 # sudo yum install gcc git-core python-devel python-virtualenv openssl-devel libffi-devel which 26 $ sudo yum install gcc git-core python-devel python-virtualenv openssl-devel libffi-devel which
27 27
28.. note:: 28.. note::
29 29
@@ -39,7 +39,7 @@ git repository from https://git.openstack.org/cgit/openstack/horizon
39 39
40.. code-block:: console 40.. code-block:: console
41 41
42 # git clone https://git.openstack.org/openstack/horizon 42 $ git clone https://git.openstack.org/openstack/horizon
43 43
44Next you will need to configure Horizon by adding a ``local_settings.py`` file. 44Next you will need to configure Horizon by adding a ``local_settings.py`` file.
45A good starting point is to use the example config with the following command, 45A good starting point is to use the example config with the following command,
@@ -47,7 +47,7 @@ from within the ``horizon`` directory.
47 47
48.. code-block:: console 48.. code-block:: console
49 49
50 # cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py 50 $ cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
51 51
52Horizon connects to the rest of OpenStack via a Keystone service catalog. By 52Horizon connects to the rest of OpenStack via a Keystone service catalog. By
53default Horizon looks for an endpoint at ``http://localhost:5000/v2.0``; this 53default Horizon looks for an endpoint at ``http://localhost:5000/v2.0``; this
@@ -67,7 +67,7 @@ development tasks. You can install it with
67 67
68.. code-block:: console 68.. code-block:: console
69 69
70 # pip install tox 70 $ pip install tox
71 71
72The ``tox`` environments provide wrappers around ``manage.py``. For more 72The ``tox`` environments provide wrappers around ``manage.py``. For more
73information on ``manage.py``, which is a Django command, see 73information on ``manage.py``, which is a Django command, see
@@ -77,7 +77,7 @@ To start the Horizon development server use the command below
77 77
78.. code-block:: console 78.. code-block:: console
79 79
80 # tox -e runserver 80 $ tox -e runserver
81 81
82.. note:: 82.. note::
83 83
@@ -99,7 +99,7 @@ You can save changes you made to
99 99
100.. code-block:: console 100.. code-block:: console
101 101
102 # python manage.py migrate_settings --gendiff 102 $ python manage.py migrate_settings --gendiff
103 103
104.. note:: 104.. note::
105 105
@@ -113,14 +113,14 @@ Horizon
113 113
114.. code-block:: console 114.. code-block:: console
115 115
116 # git remote update && git pull --ff-only origin master 116 $ git remote update && git pull --ff-only origin master
117 117
118Then update your ``openstack_dashboard/local/local_settings.py`` file 118Then update your ``openstack_dashboard/local/local_settings.py`` file
119 119
120.. code-block:: console 120.. code-block:: console
121 121
122 # mv openstack_dashboard/local/local_settings.py openstack_dashboard/local/local_settings.py.old 122 $ mv openstack_dashboard/local/local_settings.py openstack_dashboard/local/local_settings.py.old
123 # python manage.py migrate_settings 123 $ python manage.py migrate_settings
124 124
125.. note:: 125.. note::
126 126
@@ -140,8 +140,8 @@ order to prevent Conflicts for future migrations
140 140
141.. code-block:: console 141.. code-block:: console
142 142
143 # mv openstack_dashboard/local/local_settings.diff openstack_dashboard/local/local_settings.diff.old 143 $ mv openstack_dashboard/local/local_settings.diff openstack_dashboard/local/local_settings.diff.old
144 # python manage.py migrate_settings --gendiff 144 $ python manage.py migrate_settings --gendiff
145 145
146Editing Horizon's Source 146Editing Horizon's Source
147======================== 147========================