Skip to main content

A uniform flexible environment for coding, testing, and deploying using Docker

Project description

monobox

Build Status

A uniform flexible environment for coding, testing, and deploying using Docker

Suggested Workflow

  • Create your Monofile and Dockerfile. Your Monofile will include everything you need when developing, and your Dockerfile will include everything else
  • When deploying, simply take your Dockerfile and use it in production!

For guidance, look at this example monobox project: https://github.com/InnovativeInventor/monobox-example.

Recommendations

  • Use the monobox shortcuts by adding monobox package to your Monofile. You can explore the list of boxes at https://boxes.homelabs.space/
  • Add your .gitconfig file to your developing folder so it gets copied into the Dockerfile
  • Add .monobox to your .gitignore
  • If you want to use your own boxes, just create a folder called boxes and follow the same structure in https://github.com/InnovativeInventor/boxes

Options

Usage: monobox [OPTIONS] COMMAND [ARGS]...

  A uniform flexible environment for coding, testing, and deploying using
  Docker.

Options:
  --help  Show this message and exit.

Commands:
  bash     Runs bash when starting up
  default  Starts the container using your defaults
  deploy   Deploys your application using your Dockerfile
  python   Runs the python interperter instead of bash
  sh       Runs sh when starting up

Example Usage

Setup something with bash:

monobox bash

Run something with bash:

monobox bash test.sh

Setup something with git and curl (planned):

monobox git curl

Run a command (git status): ''' monobox cmd git status '''

Troubleshooting

If you see launchpadlib 1.10.6 requires testresources, which is not installed., then run sudo apt install python-testresources and restart the terminal.

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

monobox-0.5.8.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file monobox-0.5.8.tar.gz.

File metadata

  • Download URL: monobox-0.5.8.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.5

File hashes

Hashes for monobox-0.5.8.tar.gz
Algorithm Hash digest
SHA256 2eff0d7ebd981a0499d7aae09cbcc622f50d63f02244f73a1c1ecc5e9ed5d0ac
MD5 4d0965bd200011a1f40f764ebf09b6ca
BLAKE2b-256 00387f9303f2d850567b0272de746d403030451dc4cac175b534d0f36bd739a8

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