Deplomo
Sign in
Deployment guides

Deployment guides for every language and framework

Practical guides to deploying Python, Node.js, Laravel, Go, Ruby, Rust, React, Next.js, Vue, Svelte, Astro, and static sites on Deplomo, from Git to a custom domain and SSL.

Deployment guide: prepare your code and deploy it to a stable cloud environment

A key stage in the software development lifecycle is moving code from a developer’s local environment to production. New developers often ask what deployment means and what it takes to make an app available on the web. Deployment turns source code into a running service that can reliably respond to user requests. Modern PaaS platforms automate work that once required configuring web servers, firewalls, and databases by hand.

Key steps in the project deployment process

Follow these basic practices to help your software keep running reliably when you deploy a project:

  • Manage dependencies and packages: Keep standard package manager files, such as package.json, requirements.txt, composer.json, or Cargo.toml, in the repository root so the cloud platform can prepare the right runtime environment.
  • Keep environment variables separate Do not store secret keys, database connection details, or private URLs in your code. Set them as environment variables instead.
  • Set the PORT variable Modern web servers should read the listening port from the PORT environment variable and bind to 0.0.0.0 so they can receive traffic from the cloud network.

Deploying software on a cloud platform vs. traditional hosting

With traditional hosting, deploying software meant signing in to a control panel such as cPanel or connecting to a Linux server over SSH to run web server commands by hand. This made mistakes more likely and scaling up during traffic peaks difficult. With PaaS service Deplomo, each push to a Git repository or CLI command can trigger an automatic deployment. For details about the platform, see the PaaS deployment guide is available to you.

Deployment criteriaDeplomo cloud platformUnmanaged VPSTraditional hosts (cPanel/DirectAdmin)
Deployment methodConnect Git or use the Deplomo CLIManual SSH commands or complex CI/CD setupUpload files manually with FTP or a file manager
Health-checked deployment rolloutBuilt-in supportRequires complex rollout and proxy setupUploads may interrupt service
SSL certificates and domainsAutomatic issuance and renewalInstall Certbot and renew certificates with cron jobsConfigure manually in the control panel
Scaling resourcesPlan resources within fixed package limitsUpgrade hardware and restart the serverBuy a more expensive annual plan

Deployment guides for popular programming stacks

Choose a step-by-step guide for the framework and language your project uses:

Production deployments and external dependencies

During a build, dependencies are fetched from the registries your project uses, including pip, npm, Composer, and Cargo. Check credentials, registry availability, and network requirements before deploying; third-party access policies still apply.

Deployment guide FAQs

Answers to common questions about deployments, cloud tools, and publishing software: