Skip to main content

A skeleton command line program in Python.

Project description

A skeleton command line program in Python.

Usage

To authenticate with AWS (use /home/USERNAME/.aws/ on Linux/macOS, and C:UsersUSERNAME.awsas aws-folder):

# on windows the micros authenticate <aws-folder> <aws_key> <aws_secret>

Create a new project:

micros create <project>

Deploy your files to S3:

micros deploy <project> <directory> [–create_www] [–create_hosted]

Run the project locally (use this command in the root of your project):

micros run <port>

Delete the static website and remove all files (permanent):

micros delete <project>

Show help dialog:

micros –help

Show current version:

micros –version

Options:

--help

Show this screen.

--version

Show version.

--create_www

Create a second S3 bucket with prepended ‘www.’ which redirects to the default

--create_host

Create hosted Route 53 zone on AWS

Examples:

micros authenticate ~/.aws/ 76231 18290

micros create festive_season

micros run 8080

micros deploy festive_season local/directory/

micros delete festive_season

Installation

Install dependencies:

pip install -e .[test]

Run tests:

python setup.py test

Install as a user:

pip install micros

Project details


Download files

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

Source Distribution

micros-1.0.3.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file micros-1.0.3.tar.gz.

File metadata

  • Download URL: micros-1.0.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for micros-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a36b967b130a5e04e141a80b3580e7d81bb2bd506f69ec6770829c50850126ed
MD5 49ddcd09ca6ea4f26fb466c6589ff737
BLAKE2b-256 b5b3d539766411a174763809144f1467587d5120d709591bd62136316662e0d8

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