Getting Started with ColoSoft PaaS

By the StarDomain teamPublished 2 min read
Knowledge base article
Contents (6 sections)

Run your own web application (Node.js, or anything with a Dockerfile) with a managed PostgreSQL database, HTTPS and custom domains.

Quick Start

1. Create an App

Go to Services › App Platform and create an app. You can start from a template, which is deployed with starter code straight away.

2. Deploy your code

There are two ways to deploy:

  • From GitHub: in your app go to Access › GitHub, connect your repository and click Deploy Now. See Deploying from GitHub.
  • With a deploy token: create a token under Access › Deploy Tokens and upload your code with the one-line command shown there. It works from your terminal and from any CI (GitHub Actions, GitLab CI, Bitbucket Pipelines), which is also how you get deploy-on-push.

Pushing with git push to our servers is not available, and pushing to GitHub does not start a deploy by itself.

3. Watch the build

Each deployment and its build log appear in the Deploy section of your app.

What happens during a deploy

  1. Your code is received by the build system
  2. The language is detected (Node.js from package.json), or your Dockerfile is used
  3. Dependencies are installed and your app is built
  4. Your app is started; if the build fails, the version already running keeps running

Your app must listen on the port given in the PORT environment variable, bound to 0.0.0.0.

Next Steps

Was this article helpful?

Your answer helps us decide what to improve next.

Still need help? Open a support ticket and our team will reply.

Prefer an app? Add this site to your home screen.Get the app
Getting Started with ColoSoft PaaS - Knowledge Base