Fully automated luxury Aptivate command line interface.
Project description
aptivate-cli
Fully automated luxury Aptivate command line interface.
Configure Your Environment
The tool relies on variables to do some things automatically.
Place these in your shell configuration once and you're done.
APTIVATE_CLI_MYSQL=foobar
APTIVATE_CLI_SUDO=barfoor
APTIVATE_PASSWORD_STORE_DIR="$HOME/aptivate/password-store/"
Install It
To avoid OS specific issues with installing Python 3.7, you can use a combination of pyenv and [pipsi] to get the latest Python and install the package all in isolated locations.
You'll need to:
- Install Pyenv (with pyenv-installer it is simple).
- Install Pipsi.
Then, install the Python version and the tool within it's own environment.
$ pyenv install 3.7.0
$ pipsi install --python $(pyenv which python3.7) aptivate-cli
You should be ready to rip. Test things out with:
$ apc --help
Supported Features
- Only Django deployments.
- Only Django new style project structures.
The Tao of aptivate-cli
Writing Less Code Is Good.
Writing No Code Is Even Better.
Hack On It
You'll have to install pipenv and pyenv. Then run:
$ git clone git@git.coop:aptivate/aptivate-cli.git
$ cd aptivate-cli
$ pipenv install --dev --python 3.7
Then install the package locally:
$ pipenv run pip install --editable .
$ pipenv run aptivate-cli --help # start hacking
Release It
$ make test-publish # assure things are right first
$ make publish # run the real thing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.