Command line · Ship
spredr new
Creates a service from a GitHub repo.
Usage
terminal
$spredr new <owner/repo> [--name <name>] [--branch main] [--port 8080] [--memory 256] [--health /health] [--region us|eu] [--deploy]
Flags
--name <name>The service name (default: the repo's name).
--branch <branch>The branch to follow (default: main).
--port <port>The port your app listens on.
--memory <MB>Its memory limit.
--health <path>A path that answers 200 when it is ready.
--region <us|eu>Where it runs: the region closest to its database (default: us).
--deployDeploys it right away and follows it.
Examples
terminal
back to the command line$spredr new tu-usuario/mi-api --port 4310 --health /health