Skip to main content
Your application is online. This page covers what comes next: updating the code, reading logs, restarting, changing settings, taking snapshots and deleting. Every task works from the dashboard and from the CLI.

Upload once, commit after

This is the one rule to remember:
Uploading the project again does not update your application: it creates a second one, which takes more of your plan’s RAM. To update, commit.

See logs and status

Open the application. Overview shows its status and resource usage, and the Realtime console streams what the application prints. Logs keeps the saved output.
The console only shows output: there is no shell to type commands into. If the application stopped and the log doesn’t say why, check the limit statuses and the troubleshooting guide.

Update your code

Open Files and click Commit files. Send the changed files or a .zip of up to 100 MB, which is extracted in place, and tick the option to restart the application so the new code runs.
A commit replaces the files it sends and leaves the others where they are. The new code only runs after a restart. What is kept shows what a restart, a commit and a restore do to the application’s files. You can also edit a file in place in the dashboard’s file manager, or from the VS Code extension.

Start, stop and restart

The Start, Stop and Restart buttons are on the application’s Overview.
A stopped application keeps its files and settings, and keeps its share of your plan’s RAM reserved. Applications don’t sleep when idle: one that is running stays running.

Change RAM and settings

Settings → General changes the name, the description, the start command, the memory and Auto Restart. The RAM you give an application comes out of your plan’s total: see how the RAM is shared. The main file, the runtime and its version can’t be changed on an existing application. To change one of them, upload the project as a new application and delete the old one. The configuration file reference lists what is editable.

Environment variables

Tokens, passwords and connection strings live in Settings → Environment Variables, not in the code. They survive restarts and commits. After changing one, restart the application to load it. See Environment variables.

Snapshots

A snapshot is a copy of the application’s files at one moment, which you can download as a .zip or restore.
  • Take one before a risky change: open Snapshots and click Take snapshot, or run squarecloud app snapshot create.
  • Restore replaces the application’s files with the snapshot’s and starts the application again. What was written after the snapshot is gone.
  • Automatic daily snapshots of applications come with the Pro and Enterprise plans. On Hobby and Standard, take them yourself.
  • Retention: the newest snapshot of each application is kept for 30 days; older ones for 7 days.
Manual snapshots have a daily allowance that grows with your plan. See squarecloud app snapshot for the commands.

Grow

  • Your own domain: from the Standard plan, attach a domain you already own to a website. See Website hosting.
  • More than one application on the same domain: balance the traffic between them with a load balancer.
  • A database: create a managed PostgreSQL, MySQL, MongoDB or Redis and put its connection URL in an environment variable.
  • Files: store uploads and media in Blob Storage instead of the application’s disk.

Delete an application

Settings → Danger Zone → Delete application, or squarecloud app delete. A deleted application cannot be brought back as it was.
Deleting from the dashboard takes no snapshot. Take one first if you may need the files again.

Frequently asked questions

Delete the one you don’t want, in its Settings → Danger Zone. From now on, update with a commit: Files → Commit files in the dashboard, or squarecloud commit.
A commit doesn’t restart the application. Restart it, or commit with the restart option (squarecloud commit --restart).
No. An application runs around the clock until you stop it. Turn on Auto Restart to bring it back after a crash.
No. There is no shell: the console only shows what your application prints. Dependencies are installed from your dependency file at start, and the start command is set by START in the configuration file or in Settings → General.
Take a snapshot and download it: it is a .zip of the application’s files.