diff options
| author | Martin André <martin.andre@kvhasia.com> | 2015-03-20 10:31:02 +0900 |
|---|---|---|
| committer | Martin André <martin.andre@kvhasia.com> | 2015-03-20 10:31:02 +0900 |
| commit | 888bb9cc8c68bf61fddc0ca08a69f764a4012121 (patch) | |
| tree | f3c03cd7d3e22611395c8ce96b2088ca377e8932 /docs | |
| parent | 65683e5ed7df8fecd12a553bb628b982de24a326 (diff) | |
| download | kolla-888bb9cc8c68bf61fddc0ca08a69f764a4012121.tar.gz kolla-888bb9cc8c68bf61fddc0ca08a69f764a4012121.zip | |
Move genenv.sh and start.sh to tools directory
Rename them `genenv` and `start`.
Have `genenv` create the openrc file in the top-level directory.
Add openrc and compose/openstack.env to gitignore, as well as *.img.
Change-Id: I5d8006e97efd77cf364215f55d5e585139ae273e
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/developer-env.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/developer-env.md b/docs/developer-env.md index fe1916bb6..3d31aa530 100644 --- a/docs/developer-env.md +++ b/docs/developer-env.md @@ -7,18 +7,18 @@ compose directory. To start, setup your environment variables. $ cd kolla - $ ./tools/genenv.sh + $ ./tools/genenv -The `genenv.sh` script will create an openstack.env file +The `genenv` script will create a compose/openstack.env file and an openrc file in your current directory. The openstack.env file contains all of your initialized environment variables, which you can edit for a different setup. Next, run the start script. - $ ./start.sh + $ ./tools/start -The `start.sh` script is responsible for starting the containers +The `start` script is responsible for starting the containers using `docker-compose -f <osp-service-container> up -d`. If you want to start a container set by hand use this template @@ -36,7 +36,9 @@ If any of the containers exited you can check the logs by doing $ sudo docker logs <glance-api-container> $ docker-compose logs <glance-api-container> -If you want to start a individual service like `glance-api` by hand, then use this template. This is a good method to test and troubleshoot an individual container. +If you want to start a individual service like `glance-api` by hand, then use +this template. This is a good method to test and troubleshoot an individual +container. $ docker run --name glance-api -d \ --net=host |
