Skip to main content
Roberty Studio
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​

FieldRequiredDescription
NameYesThe project's name, 3 to 80 characters. It appears in the file tree and on every screen of the project.
DescriptionNoA short text that helps tell what the project is for.
Code sourceYesWhere the code comes from: Git repository (the default) or .zip upload. See below.
RuntimeYesPython or Node. The language is fixed at creation and cannot be changed later.
VersionYesThe runtime version used to install the dependencies and run the project.
Package managerYesNode: 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:

  1. Prepare the code with a roberty.json at its root. See Preparing the project.
  2. Connect the code source — the Git repository and each environment's branch — or upload the .zip. See Code source.
  3. Link devices for Production and, if you want to test first, one for Preview. See Devices.
  4. Run the first deploy by pushing to the configured branch or uploading the .zip. See Deployments.