Starmart deployment tool
Project description
Starmart
Installing
The following command will, not only install the starmart CLI tool, but also the helper classes for returning the correct output.
pip install starmart
CLI Usage
NOTE: On Windows, all commands must be prepended with a python -m ...
. Example: python -m starmart init
.
Once you've installed the CLI tool (see Installing section), go to an empty directory and run:
# sudo privileges are needed for adding gitlab ssh key in case there's none.
# If you already have one, you can run it without sudo.
sudo starmart init
This command will create a starter project to which you would need to add all your code. It'll prompt you to sign in to your account. After that, a git repository will be configured with an alternative remote called starmart.
In order to deploy the code, you must first add and commit all the files you would like to be pushed to the remote repository. This is the way starmart knows which files to push. So, in order to deploy you should run the following commands:
# Adding all files to git. Feel free to select specific files if you need to
git add .
# Adding a commit message.
git commit -m "Descriptive commit message"
# Deploying the code. This will push all the files to the remote repository,
# build a model runtime environment and make it available for the public.
# Running starmart deploy is equivalent to running git push starmart main.
starmart deploy
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
Hashes for starmart-0.2.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad28dab7083e0eba7e23c68f1250e661b414f69d0e4bf22b690c03518d414ee1 |
|
MD5 | 95259147f4d96dd5b7f7c2fd016eb46e |
|
BLAKE2b-256 | a64f5990b60f3b0f55ccd4ae209568f25b132f11cbc95fc12ea2599c50449d65 |