Step 1: Choose an app type
Current app types in the dashboard:- Static / HTML
- PHP
- Python
- React
- Node.js / Express.js
- Next.js
Step 2: Connect source code
Current source options:- GitHub
- ZIP archive
- Local folder
- Empty project
GitHub
Use GitHub when you want Servbase to clone a repository on the deployment worker. GitHub connections belong to the workspace. If none is connected yet, select Connect GitHub and install the Servbase App on your GitHub account or organization. GitHub then asks you to authorize Servbase, which confirms that you have access to that installation before it is linked. See GitHub connections. You will choose:- connected account or organization
- repository
- production branch
ZIP archive
Use ZIP upload when you want a packaged deploy artifact or do not want to connect GitHub.Local folder
Use folder upload when you want to push local source directly.Empty project
Use an empty project to start from scratch. Servbase creates a small, ready-to-run starter project for the app type and the framework you choose in the next step, and deploys it:
Edit the project in the file manager. React and Next.js projects are built from their source, so rebuild or redeploy the app after editing it.
- Laravel and CodeIgniter projects get their own
.envfile with production settings, and Laravel gets its ownAPP_KEY. - Django projects get a random
DJANGO_SECRET_KEYvariable. SetDJANGO_ALLOWED_HOSTSto a comma-separated list of your domains to accept only those hosts.
- creates a private repository on that account,
- pushes the app’s files to it, except files that may hold secrets (such as
.envfiles and keys) and generated folders (such asvendorandnode_modules), - deploys the app from the repository’s default branch from then on, with automatic deploys on push.
A repository on a personal GitHub account can only be created by that account’s owner. The Servbase GitHub App needs the Administration (read and write) permission to create repositories.
Step 3: Configure settings
Current customer-facing fields in the app creation flow include:- app name
- base domain
- framework for Python apps
- package manager for React apps
- Next.js rendering mode for Next.js apps
- Free-tier base-domain selection is restricted unless your account can choose additional base domains.
- Python runtime start and root settings are auto-managed during creation.
Step 4: Deploy
Deployment is queued and processed by the platform runtime worker. What happens next depends on app type:- Static / HTML validates the effective root for
index.html - PHP deploys file payloads to the PHP runtime path
- React installs dependencies, runs a supported build command, and validates the publish directory
- Python installs dependencies into a virtual environment and configures the runtime for the selected framework
- Node.js / Express.js configures a managed runtime path with a runtime start command
- Next.js runs in SSR or static-output mode depending on the selected rendering mode
