writer cloud
command group includes the following commands:
deploy
undeploy
logs
--api-key
: The Writer API key used for authentication. If not provided, you will be prompted to enter it.--verbose, -v
: Enable verbose output.writer cloud deploy
PATH
: The path to the folder containing the app to deploy.--api-key
: Writer API key for authentication. If not provided, you will be prompted to enter it.--env, -e
: Environment variables to set in the deployed app. Use the format VAR=value
. Multiple environment variables can be specified by repeating the --env
option.--verbose, -v
: Enable verbose output.PATH
folder..git
directories, Dockerfile
s and all files specified in .gitignore
file.WRITER_API_KEY
environment variable will be added to enable AI features.writer cloud undeploy
--api-key
: Writer API key for authentication. If not provided, you will be prompted to enter it.--verbose, -v
: Enable verbose output.writer cloud logs
--api-key
: Writer API key for authentication. If not provided, you will be prompted to enter it.--verbose, -v
: Enable verbose output.--env
option to pass these variables.
DB_HOST
and DB_PORT
will be available to the app as environment variables.
WRITER_API_KEY
is crucial for deploying and managing apps. It is used for authenticating requests to the Writer cloud. If not provided as an option, the CLI will prompt you to enter it. The WRITER_API_KEY
will also be added to the deployed app’s environment to enable AI features of the Writer framework.
Package Creation
service_entrypoint.py
).Upload Package
Build and Deploy
Environment Variables
WRITER_API_KEY
is added by default.Deploying an App
Fetching Logs
Undeploying an App