Skip to main content

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


Download files

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

Source Distribution

starmart-0.2.10.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

starmart-0.2.10-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

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