Deploy with the CLI
5050 up uploads the current directory, builds it on your hosts and streams the logs until the deploy is live.
Steps
- Install the CLI:
curl -fsSL https://5050cloud.com/install.sh | sh -s -- --cli. - Log in:
5050 login https://console.example.com. - In your app's directory, create or link a project:
5050 init -n my-appor5050 link. - Deploy:
5050 up --newthe first time,5050 upafterwards.
$ 5050 up
Uploaded 3.2 MB
... build log ...
... first deploy log lines ...
Deployed: https://my-app-k3x9.203-0-113-10.sslip.ioWhat is uploaded
The directory is packed as a gzipped tar, skipping .git and files matched by .gitignore and .5050ignore. Uploads over 500 MB are refused. --no-gitignore includes ignored files; --path-as-root PATH uploads only PATH as the root.
From CI
export FIFTY_URL=https://console.example.com
export FIFTY_TOKEN=5050_xxxxxxxx
5050 up -c -s api -e production -m "$GIT_COMMIT_MESSAGE"-c streams the build log and exits non-zero if the build or deploy fails. Create an environment-scoped token under Account > Tokens for CI.