Fix format errors in README
Uploads to pypi now perform validation on the package and reject it if issues are found. Since the README is used as the package description, formatting issues in the README would cause this validation to fail. This fixes up some minor issues in the readme so that running the validation passes. This can be checked locally using the command: python setup.py check -s -r Change-Id: I0654777f2df134fe4fc2957fc2426d12ea5c0e01 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
This commit is contained in:
parent
b701cb4d49
commit
f958a4f57d
52
README.rst
52
README.rst
|
@ -27,52 +27,40 @@ other Operating Systems.
|
|||
The branch_name which is used in commands, specify the branch_name
|
||||
as stable/<branch> for any stable branch installation. For eg:
|
||||
stable/queens, stable/pike. If unspecified the default will be
|
||||
master branch.
|
||||
master branch. The installation of tacker-horizon is as following
|
||||
steps.
|
||||
|
||||
Clone tacker-horizon repository.
|
||||
::
|
||||
|
||||
::
|
||||
|
||||
cd ~/
|
||||
git clone https://github.com/openstack/tacker-horizon -b <branch_name>
|
||||
|
||||
cd ~/
|
||||
git clone https://github.com/openstack/tacker-horizon -b <branch_name>
|
||||
|
||||
Install horizon module.
|
||||
::
|
||||
|
||||
::
|
||||
|
||||
cd tacker-horizon
|
||||
sudo python setup.py install
|
||||
|
||||
cd tacker-horizon
|
||||
sudo python setup.py install
|
||||
|
||||
Enable tacker horizon in dashboard.
|
||||
::
|
||||
|
||||
::
|
||||
|
||||
sudo cp tacker_horizon/enabled/* \
|
||||
/opt/stack/horizon/openstack_dashboard/enabled/
|
||||
|
||||
sudo cp tacker_horizon/enabled/* \
|
||||
/opt/stack/horizon/openstack_dashboard/enabled/
|
||||
|
||||
Collect and compress static files.
|
||||
::
|
||||
|
||||
::
|
||||
./manage.py collectstatic --noinput
|
||||
echo yes | ./manage.py compress
|
||||
|
||||
./manage.py collectstatic --noinput
|
||||
echo yes | ./manage.py compress
|
||||
Restart Apache server using Upstart.
|
||||
::
|
||||
|
||||
sudo service apache2 restart
|
||||
|
||||
Restart Apache server.
|
||||
|
||||
::
|
||||
|
||||
sudo service apache2 restart
|
||||
|
||||
|
||||
If your server is using Systemd instead of Upstart (e.g Ubuntu 15.10
|
||||
and above), use the following command instead:
|
||||
|
||||
::
|
||||
|
||||
sudo systemctl restart apache2
|
||||
Or restart Apache server using Systemd.
|
||||
::
|
||||
|
||||
sudo systemctl restart apache2
|
||||
|
||||
|
|
Loading…
Reference in New Issue