Fixes to README.rst for standalone congress setup
Change-Id: I20db368bf1e4cfd4d3904ac532ed13d259432a1f
This commit is contained in:
parent
2181541cdc
commit
14797703c7
17
README.rst
17
README.rst
|
@ -123,8 +123,9 @@ Install the following software, if you haven't already.
|
||||||
* java: http://java.com (any reasonably current version should work)
|
* java: http://java.com (any reasonably current version should work)
|
||||||
On Ubuntu: apt-get install default-jre
|
On Ubuntu: apt-get install default-jre
|
||||||
|
|
||||||
* Additionally: git gcc python-dev libxml2 libxslt1-dev libzip-dev python-mysqldb mysql-server
|
* Additionally::
|
||||||
|
|
||||||
|
$ apt-get install git gcc python-dev libxml2 libxslt1-dev libzip-dev mysql-server python-mysqldb
|
||||||
|
|
||||||
Clone Congress::
|
Clone Congress::
|
||||||
|
|
||||||
|
@ -144,15 +145,23 @@ Configure congress::
|
||||||
$ sudo cp etc/api-paste.ini /etc/congress
|
$ sudo cp etc/api-paste.ini /etc/congress
|
||||||
$ sudo cp etc/policy.json /etc/congress
|
$ sudo cp etc/policy.json /etc/congress
|
||||||
$ sudo cp etc/congress.conf.sample /etc/congress/congress.conf
|
$ sudo cp etc/congress.conf.sample /etc/congress/congress.conf
|
||||||
$ sudo cp etc/datasources.conf.sample /etc/congress/datasources.conf
|
$ sudo cp etc/datasources.conf /etc/congress/datasources.conf
|
||||||
|
|
||||||
Add two lines in /etc/congress/congress.conf [DEFAULT] section:
|
Add two lines in /etc/congress/congress.conf [DEFAULT] section:
|
||||||
|
|
||||||
policy_path = /etc/congress/snapshot
|
policy_path = /etc/congress/snapshot
|
||||||
datasource_file=/etc/congress/datasources.conf
|
datasource_file = /etc/congress/datasources.conf
|
||||||
|
|
||||||
Modify [keystone_authtoken] and [database] according to your environment.
|
Modify [keystone_authtoken] and [database] according to your environment.
|
||||||
|
|
||||||
|
For setting congress with "noauth":
|
||||||
|
Add the following line to [DEFAULT] section in /etc/congress/congress.conf
|
||||||
|
|
||||||
|
auth_strategy = noauth
|
||||||
|
|
||||||
|
Also, might want to delete/comment [keystone_authtoken] section in
|
||||||
|
/etc/congress/congress.conf
|
||||||
|
|
||||||
Create database::
|
Create database::
|
||||||
|
|
||||||
$ mysql -u root -p
|
$ mysql -u root -p
|
||||||
|
@ -165,7 +174,7 @@ Create database::
|
||||||
(Configure congress.conf with db information)
|
(Configure congress.conf with db information)
|
||||||
|
|
||||||
Push down schema
|
Push down schema
|
||||||
$ sudo congress-db-manage --config-file /path/to/congress.conf upgrade head
|
$ sudo congress-db-manage --config-file /etc/congress/congress.conf upgrade head
|
||||||
|
|
||||||
Setup congress accounts::
|
Setup congress accounts::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue