DCOS-203 remove '>' from commands in README
This commit is contained in:
32
README.rst
32
README.rst
@@ -8,68 +8,68 @@ Setup
|
|||||||
#. Make sure you meet requirements for installing packages_
|
#. Make sure you meet requirements for installing packages_
|
||||||
#. Install the "wheel" project::
|
#. Install the "wheel" project::
|
||||||
|
|
||||||
> pip install wheel
|
pip install wheel
|
||||||
|
|
||||||
#. Install the tox project::
|
#. Install the tox project::
|
||||||
|
|
||||||
> pip install tox
|
pip install tox
|
||||||
|
|
||||||
#. Clone git repo for the dcos cli::
|
#. Clone git repo for the dcos cli::
|
||||||
|
|
||||||
> git clone git@github.com:mesosphere/dcos-cli.git
|
git clone git@github.com:mesosphere/dcos-cli.git
|
||||||
|
|
||||||
#. Change directory to the repo directory::
|
#. Change directory to the repo directory::
|
||||||
|
|
||||||
> cd dcos-cli
|
cd dcos-cli
|
||||||
|
|
||||||
#. Create a virtualenv for the dcos cli project::
|
#. Create a virtualenv for the dcos cli project::
|
||||||
|
|
||||||
> virtualenv --prompt='(dcos-cli) ' env
|
virtualenv --prompt='(dcos-cli) ' env
|
||||||
|
|
||||||
Configure Development Environment
|
Configure Development Environment
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
#. Activate the virtualenv::
|
#. Activate the virtualenv::
|
||||||
|
|
||||||
> source env/bin/activate
|
source env/bin/activate
|
||||||
|
|
||||||
#. Install project in develop mode::
|
#. Install project in develop mode::
|
||||||
|
|
||||||
> pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
#. Export DCOS_PATH::
|
#. Export DCOS_PATH::
|
||||||
|
|
||||||
> export DCOS_PATH=<path-to-project>/env
|
export DCOS_PATH=<path-to-project>/env
|
||||||
|
|
||||||
#. Export DCOS_CONFIG::
|
#. Export DCOS_CONFIG::
|
||||||
|
|
||||||
> mkdir $DCOS_PATH/config
|
mkdir $DCOS_PATH/config
|
||||||
> touch $DCOS_PATH/config/Dcos.toml
|
touch $DCOS_PATH/config/Dcos.toml
|
||||||
> export DCOS_CONFIG=$DCOS_PATH/env/config/Dcos.toml
|
export DCOS_CONFIG=$DCOS_PATH/env/config/Dcos.toml
|
||||||
|
|
||||||
Running POC
|
Running POC
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
#. List command help::
|
#. List command help::
|
||||||
|
|
||||||
> dcos --help
|
dcos --help
|
||||||
|
|
||||||
#. Run subcommand::
|
#. Run subcommand::
|
||||||
|
|
||||||
> dcos config --help
|
dcos config --help
|
||||||
|
|
||||||
Running Tests:
|
Running Tests:
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
#. Run tests using tox::
|
#. Run tests using tox::
|
||||||
|
|
||||||
> tox
|
tox
|
||||||
|
|
||||||
#. Run tests using tox through docker::
|
#. Run tests using tox through docker::
|
||||||
> CHECKOUT=<path-to-repo> \
|
CHECKOUT=<path-to-repo> \
|
||||||
export DOCKER_REPO=mesosphere/python-tox \
|
export DOCKER_REPO=mesosphere/python-tox \
|
||||||
export DOCKER_TAG=v1 \
|
export DOCKER_TAG=v1 \
|
||||||
sudo docker run -it -v $(CHECKOUT):/dcos-cli $(DOCKER_REPO):$(DOCKER_TAG) tox -c /dcos-cli/tox.ini
|
sudo docker run -it -v $CHECKOUT:/dcos-cli $DOCKER_REPO:$DOCKER_TAG tox -c /dcos-cli/tox.ini
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
-----
|
-----
|
||||||
|
|||||||
Reference in New Issue
Block a user