Manage instances of Stylobate-based projects
Project description
README
,---. ,--. ,--. ,--. ,--.
' .-',-' '-.,--. ,--.| | ,---. | |-. ,--,--.,-' '-. ,---.
`. `-.'-. .-' \ ' / | || .-. || .-. '' ,-. |'-. .-'| .-. :
.-' | | | \ ' | |' '-' '| `-' |\ '-' | | | \ --.
`-----' `--' .-' / `--' `---' `---' `--`--' `--' `----'
`---'
Mgmt
Script for managing Stylobate-based applications.
(Stylobate is a Dockerized FastAPI-React starter project)
Inspired basically by Flask's manage.py, it is mostly thin wrappers around bash scripts that would be tedious to type in full each time.
Adapted from a previous collection of a bunch of aliases and bash scripts
Features
- Build/compile front-end sources and docker images with
stylo build - Manage the database with auto-generated migrations and shell access in
stylo db - Auto-fork and set up a new stylobate project with
stylo init - Follow logs with
stylo logs - Run frontend, backend, and dockerized servers with
stylo run - Is your web server running? Use
stylo stop - Access the docker shells with
stylo shell
Installation
If you want to use stylo init, you must first install the GitHub CLI)
After doing or skipping that, simply run pip install stylobate-mgmt
Usage
Use stylo --help to access the help page, or stylo <command> --help to access the help page for a specific command
Note that for clarity's sake in most descriptions I use the long version of arguments, e.g. stylo db --gen-migrations. All arguments have a shorter form as well that should be intuitive; in this case stylo db -g.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stylobate-mgmt-0.0.2.tar.gz.
File metadata
- Download URL: stylobate-mgmt-0.0.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8fc3edb9e0f39e75a8f4572fc9088700d214f63a73a12440d8ee95a58bd4dbb
|
|
| MD5 |
00862e9158529b009bd2cdcde2dc3ae8
|
|
| BLAKE2b-256 |
567cd2cfaabf0f0b73712a44c91b73733a170450345c21556233a8d1bd85bb05
|
File details
Details for the file stylobate_mgmt-0.0.2-py3-none-any.whl.
File metadata
- Download URL: stylobate_mgmt-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
887d92a52917df6a7c8efc82068063686f2bb793d73a6689b01600d136620483
|
|
| MD5 |
652d4ea3a90db4e6cb1472363bced6df
|
|
| BLAKE2b-256 |
12b5652cfc270b82cb82abe5437d99f4bac432029dc99557e26d7b5707e87b76
|