Skip to content

Commit

Permalink
Merge pull request #124 from Mirantis/readme-rst
Browse files Browse the repository at this point in the history
add RST readme
  • Loading branch information
tomkukral authored Nov 13, 2017
2 parents 1477b60 + bddc18b commit 5d409bf
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 63 deletions.
60 changes: 0 additions & 60 deletions README.md

This file was deleted.

79 changes: 79 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
KQueen - Kubernetes cluster manager
===================================


.. image:: https://travis-ci.org/Mirantis/kqueen.svg?branch=master
:target: https://travis-ci.org/Mirantis/kqueen

.. image:: https://badge.fury.io/py/kqueen.svg
:target: https://badge.fury.io/py/kqueen

.. image:: https://coveralls.io/repos/github/Mirantis/kqueen/badge.svg?branch=master
:target: https://coveralls.io/github/Mirantis/kqueen?branch=master


Development
-----------

- Bootstrap kqueen environment

::

mkvirtualenv -p /usr/bin/python3 kqueen
pip3 install -r requirements.txt
pip3 install --editable .
# start etcd in container
docker-compose up -d # start
kqueen

- Clean etcd storage and prepare examples

::

etcdctl rm --recursive /kqueen
./devenv.py

Demo environment
----------------

- Without local Kubernetes

::

docker-compose -f docker-compose.yml -f docker-compose.demo.yml up

- Including local Kubernetes (without ``kubelet``)

::

docker-compose -f docker-compose.yml -f docker-compose.demo.yml -f docker-compose.kubernetes.yml up

- You can add some example data by running

::

docker-compose -f docker-compose.yml -f docker-compose.demo.yml exec kqueen ./devenv.py

It will add user ``admin`` with password ``default`` and few of testing
objects.

Configuration
-------------

We load configuration from file ``config/dev.py`` by default and this
can be configured by ``KQUEEN_CONFIG_FILE`` environment variable. Any
environment variable matching name ``KQUEEN_*`` will be loaded and saved
to configuration.

Documentation
-------------

For full documenation please refer to
`kqueen.readthedocs.io <http://kqueen.readthedocs.io>`__.

.. |Build Status| image:: https://travis-ci.org/Mirantis/kqueen.svg?branch=master
:target: https://travis-ci.org/Mirantis/kqueen
.. |PyPI version| image:: https://badge.fury.io/py/kqueen.svg
:target: https://badge.fury.io/py/kqueen
.. |Coverage Status| image:: https://coveralls.io/repos/github/Mirantis/kqueen/badge.svg?branch=master
:target: https://coveralls.io/github/Mirantis/kqueen?branch=master
2 changes: 1 addition & 1 deletion kqueen/tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, **kwargs):

monkeypatch.setattr('setuptools.setup', fake_setup)

filename = 'README.md'
filename = 'README.rst'

from setup import long_description
assert open(filename, 'r').read() == long_description
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from setuptools import setup, find_packages

version = '0.8'
version = '0.9'

with open('README.md') as f:
with open('README.rst') as f:
long_description = ''.join(f.readlines())

setup(
Expand Down

0 comments on commit 5d409bf

Please sign in to comment.