CODECode
Creating a code project
Create a code project from the workspace's file tree, choosing the code source, the runtime and the package manager.
Creating a code project
To create a project, go to the workspace's Files tab, open the Create menu and choose Code project — "Code integrations, from Git or a .zip". The project is created in the workspace and folder you opened the menu from.
info
Only workspace administrators can create code projects.
Fields
| Field | Required | Description |
|---|---|---|
| Name | Yes | The project's name, 3 to 80 characters. It appears in the file tree and on every screen of the project. |
| Description | No | A short text that helps tell what the project is for. |
| Code source | Yes | Where the code comes from: Git repository (the default) or .zip upload. See below. |
| Runtime | Yes | Python or Node. The language is fixed at creation and cannot be changed later. |
| Version | Yes | The runtime version used to install the dependencies and run the project. |
| Package manager | Yes | Node: npm or yarn. Python: pip. |
Code source
- Git repository — GitHub and other providers, connected after the project is created. Each deploy pulls the environment's branch (Production or Preview).
- .zip upload — a single file of up to 100 MB, Production environment only.
You can switch the source later in the project's settings. See Code source.
warning
The runtime (Python or Node) cannot be changed after creation. The version and the package manager can be adjusted later in Settings.
Click Create project to finish. The project opens in a new editor tab.
After creating it
A freshly created project does not run anything yet. To get to the first run:
- Prepare the code with a
roberty.jsonat its root. See Preparing the project. - Connect the code source — the Git repository and each environment's branch — or upload the .zip. See Code source.
- Link devices for Production and, if you want to test first, one for Preview. See Devices.
- Run the first deploy by pushing to the configured branch or uploading the .zip. See Deployments.