Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Latest commit

History

History
38 lines (27 loc) 路 694 Bytes

README.md

File metadata and controls

38 lines (27 loc) 路 694 Bytes

Helloworld

This is helloworld powered by M3O.

Usage

Run it using the M3O Apps service.

Cloud

Use M3O Cloud at cloud.m3o.com

CLI

m3o app run --name=helloworld --repo=github.com/m3o/helloworld

Get an app url back. In this case helloworld.m3o.app.

curl https://helloworld.m3o.app?name=Alice

API

curl "https://api.m3o.com/v1/app/Run" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $M3O_API_TOKEN" \
  -d '{
    "branch": "master",
    "name": "helloworld",
    "port": 8080,
    "region": "europe-west1",
    "repo": "github.com/m3o/helloworld"
  }'