KamuiDash KamuiDash Docs
EN JA ZH

Deploy a Web App from GitHub to Tokyo

Use this quick start to deploy your first web app from GitHub to the Tokyo region. KamuiDash builds and redeploys the app when you push to the branch you connect.

Prerequisites

  • A GitHub account
  • A GitHub repository with your code

Step 1: Create Account / Login

  1. Go to KamuiDash
  2. Click "Login with GitHub"
  3. Authorize GitHub access
  4. Register and verify your email address

Step 2: Create a Project

A project is a container for grouping applications and databases.

Using GUI

  1. Click "New Project" in the dashboard
  2. Enter a project name
  3. Select a plan (Free or Pro)
  4. Select a region (Tokyo)
  5. Click "Create"

Using CLI

kamui projects create

Follow the interactive prompts to enter name, plan, and region.

Step 3: Connect the GitHub repository you want to deploy

Authorize KamuiDash to read the repository that contains your code. GitHub sign-in gives you access to KamuiDash. Installing the GitHub App authorizes access to your repository and happens on GitHub.

Using the dashboard

  1. Open the project from step 2 and choose Web Server or Web Page from the app creation menu.
  2. Under Build and Deploy → Repository, click Connect with GitHub. GitHub opens in a new tab. If you can already select the repository, skip to the last step in this list.
  3. Select the GitHub account or organization that owns the repository.
  4. Choose Only select repositories and select the repository you want to deploy. Review the requested permissions and confirm the installation. If the app is already installed, add the repository to its allowed list and save.
  5. Return to the KamuiDash app creation screen.
  6. Select the authorized owner/repository and the branch you want to deploy.

Using the CLI

Open the KamuiDash GitHub App installation page and authorize the repository. Then return to your terminal and run kamui apps create in step 4.

GitHub repository not showing up?

Connect GitHub first if the repository selector is missing. If you just granted access, wait briefly, then check that you selected the correct repository owner and allowed the repository on GitHub. Organization repositories may require approval from an owner. GitHub App installation guide

Step 4: Create an Application

Web Server

Deploy server-side applications using Node.js, Go, Python, or Ruby.

Using GUI

  1. Use the Web Server creation screen you opened in step 3.
  2. Configure settings:
    • App name
    • Language (Node.js / Go / Python / Ruby)
    • Select repository and branch
    • Setup command (e.g., npm install)
    • Pre-start command (e.g., npm run migrate)
    • Application start command (e.g., npm start)
    • Health check endpoint (e.g., /health)
  3. Click "Create"

Using CLI

kamui apps create

Follow the interactive prompts.

Web Page

Deploy static sites consisting of HTML, CSS, and JavaScript only.

From GitHub Repository

  1. Use the Web Page creation screen you opened in step 3.
  2. Select repository and branch
  3. Specify the public directory (e.g., dist, build)
  4. Click "Create"

Step 5: Verify Deployment

After creating an app, the build and deploy process starts automatically.

  1. Check the status in the app detail screen
  2. Once it shows "running", access the provided URL
  3. Verify your application is working correctly

Subsequent Deployments

Push to the connected GitHub branch to trigger an automatic redeployment. This example uses the main branch.

git add .
git commit -m "Update feature"
git push origin main

To manually redeploy, click the "Redeploy" button in the app detail screen on the dashboard.

Next Steps