Fundamentals

Projects

A project groups related apps with their sources, databases and connections.

A project represents one product or system, for example a shop with storefront and API. The console shows each project as a canvas with the apps as cards and lines between apps that may call each other.

Project: shop
acme/shop
main
copperfox
Live
copperfox.lilylabs.app
cinderrock
Live
cinderrock.lilylabs.app
acme/admin
main
mapleglen
Building
mapleglen.lilylabs.app
A project with two sources. Each source is a repository at a branch and can produce several apps.

Create a project

A project is created with its first deploy: New project in the console, or lly deploy and lly init in the CLI. Projects that never receive a repository are deleted after about 24 hours.

Project names consist of lowercase letters, digits and hyphens, up to 64 characters, and must be unique among your projects. The name is part of the console URL, for example platform.lilylabs.io/shop/apps. Renaming a project keeps its ID and the addresses of its apps.

Sources

A source is a repository at one branch, connected to a project. The first source is added when the project is created. To add more, use the search bar at the bottom of the canvas: paste a repository URL or select one of your repositories. In the CLI, run lly deploy --project <name> in another repository.

A project can contain several sources, for example two repositories or two branches of one repository. The same repository and branch cannot be added twice. Deploying it again rebuilds its apps.

Canvas

  • App cards show slug, framework, status, address and source repository. A globe marks a public app, a lock a private one.
  • Lines between apps are connections. Drag from one card to another to allow the first app to call the second.
  • Database nodes show one database per kind and the number of apps using it.
  • Groups are labels the analysis assigns to related apps, usually by folder.

Select a card to open the app. It has the tabs Overview, Network, Variables, Domains, Logs and Settings.

Settings

Manage > General in the project sidebar shows the project name, ID, workspace, sources and databases. Delete project deletes the project and all its apps. This cannot be undone.

On this page