cluz projects
List, create, update and delete projects, and read a project's status.
| Command | What it does |
|---|---|
cluz projects list | List the team's projects. |
cluz projects info | Show a project's settings. |
cluz projects create | Create a project from a Git repository. |
cluz projects update | Change a project's settings. |
cluz projects delete | Delete a project. |
cluz status | Show the project, its latest build and its deployments. |
projects also answers to project and proj.
Create
cluz projects create --name api --repo https://github.com/acme/api --link
cluz projects create --name web --repo https://gitlab.com/acme/web --build-method dockerfile --port 3000
cluz projects create --name shop --repo https://github.com/acme/shop --databaseWithout --name and --repo it asks for them. The provider is taken from the repository URL unless --provider is set. --link links the current directory to the new project. --database gives the project its database from the start.
Update
cluz projects update --instances 2 --memory 1g
cluz projects update api --branch releaseOnly the flags you pass change. Changes to instances, memory, CPU, port or health check apply on the next deploy. Pass an empty value to --build-command, --start-command or --release-command to clear it, and --auto-deploy=false to stop pushes from deploying.
Delete
cluz projects delete <slug> tears down the running service, environment variables and domains now. The project record is kept for 7 days and then purged. --yes skips the confirmation.
Status
cluz status shows the project's settings, its latest build, and its active and latest deployment.