Serverless Postgres+Java hosted on Github+AWS
Project description
POJA CLI
A Python CLI to the POJA stack.
Usage
Create a completely new project
pip install poja
python -m poja \
--app-name=poja-base \
--package-full-name=com.company.base \
--region=eu-west-3 \
--ssm-sg-id=/poja/sg/id \
--ssm-subnet1-id=/poja/subnet/public1/id \
--ssm-subnet2-id=/poja/subnet/public2/id \
--output-dir=folder-to-be-created
Those configurations will be automatically saved in poja.yml
at the end of the creation.
Upgrade an already existing project
pip install poja --upgrade
python -m poja \
--app-name=poja-base \
--package-full-name=com.company.base \
--region=eu-west-3 \
--ssm-sg-id=/poja/sg/id \
--ssm-subnet1-id=/poja/subnet/public1/id \
--ssm-subnet2-id=/poja/subnet/public2/id \
--output-dir=folder-already-created
Note the --upgrade
and the --output-dir=folder-already-created
flags.
The POJA configuration that was used for the previous generation is saved in poja.yml
: it will be updated after the new upgrade.
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.
Source Distribution
poja-0.3.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
poja-0.3.0-py3-none-any.whl
(5.3 kB
view hashes)