Documentation

Welcome to Mapherix Docs

Mapherix documentation preview

Quick Navigation

Open the section you need.

Getting Started

Use these three steps to launch your first service.

1. Access the Dashboard

After login, open the Dashboard and use New Service to start a deployment.

2. Deploy your code

Enter the repository URL, choose the branch and runtime, then confirm the build and start commands.

javascript
// Example: A simple Express server ready to deploy
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;

app.get('/', (req, res) => {
  res.send('Hello from Mapherix!');
});

app.listen(port, () => {
  console.log(`App listening on port ${port}`);
});
python
# Example: A simple Flask server ready to deploy
from flask import Flask
import os

app = Flask(__name__)

@app.get("/")
def home():
    return "Hello from Mapherix!"

if __name__ == "__main__":
    port = int(os.environ.get("PORT", 8000))
    app.run(host="0.0.0.0", port=port)
Automated Builds
Once you click Deploy, Mapherix pulls your code, runs the build command, starts the app with the start command, and routes traffic to the port you configured.
Server binding note
Web frameworks must listen on 0.0.0.0 and the same port configured in Mapherix. Binding only to localhost or 127.0.0.1 can make the app start successfully but remain unreachable from the public URL.

3. View it live

When the status becomes Running, open the generated .mhserver.dpdns.org URL and use the service detail page for logs, deployments, and configuration.