diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2015-03-16 10:27:03 -0400 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2015-03-18 09:01:18 -0400 |
| commit | 02b36d9702cee18d379cd760631c6875066a0088 (patch) | |
| tree | a4cf9a676b4e12c8a0e688c737ccdc97b0f5aafd /docs | |
| parent | 787f5d1b80d079fdb20658c9c2926f4c087588e1 (diff) | |
| download | kolla-02b36d9702cee18d379cd760631c6875066a0088.tar.gz kolla-02b36d9702cee18d379cd760631c6875066a0088.zip | |
Implements: blueprint create dev quickstack
Basic develop quickstart guide to setup kolla using
docker-compose.
Change-Id: I3c0c3d92ee4bccfa4173c05be6755bd048296daf
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/developer-env.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/developer-env.md b/docs/developer-env.md new file mode 100644 index 000000000..ab2ee33a6 --- /dev/null +++ b/docs/developer-env.md @@ -0,0 +1,43 @@ +# Developer env + +The basic starting enviroment will be created using `docker-compose`. +This environment will start up the openstack services listed in the +compose directory. + +To start, setup your environment variables. + + $ cd kolla + $ ./tools/genenv.sh + +The `genenv.sh` script will create an 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 + +The `start.sh` 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 + + $ docker-compose -f glance-api-registry.yml up -d + +# Debug + +You can follow a container's status by doing + + $ sudo docker ps -a + +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. + + $ docker run --name glance-api -d \ + --net=host + --env-file=openstack.env kollaglue/fedora-rdo-glance-api:latest |
