Skip to main content

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/private1/id \
  --ssm-subnet2-id=/poja/subnet/private2/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/private1/id \
  --ssm-subnet2-id=/poja/subnet/private2/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.

Use custom/additional Java deps

Just provide the argument --custom-java-deps=your-list-of-deps where your-list-of-deps contains the dependency lines that are to be added to build.gradle. Here is an example of such a file.

Once the generation finishes, your-list-of-deps will be copied at the root path of the genrated directory, under the name poja-custom-java-deps.txt. That file will come handy for future generations based on past generations.

Project details


Release history Release notifications | RSS feed

This version

1.3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poja-1.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

poja-1.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file poja-1.3.0.tar.gz.

File metadata

  • Download URL: poja-1.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for poja-1.3.0.tar.gz
Algorithm Hash digest
SHA256 26e9ebc6e728efdad09ca84e108138f564c6fa023921e8f6d81859d0b5ba937c
MD5 791c62a808306efb8ac194ff2d7f1332
BLAKE2b-256 fb2fa7b4756ce37be5b7e4f1476b95b5d2caa074793b4a2f729fd268175ccbba

See more details on using hashes here.

File details

Details for the file poja-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: poja-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for poja-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e53c439104876a22b2bb4bca3d6509e24152bf2b7b63c1352d33fb9e6d49e39
MD5 597dd5d8892567fbf07b44fff2a96913
BLAKE2b-256 09f6f054e67ce10adc12f74c7a09c33f44a24b8db43d9e3fce8851cfe1614b69

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page