App Platform
Connect a git repository and AhuraSense builds it, runs it and serves it over HTTPS. Every push to your production branch deploys; every other branch gets its own preview.
How it works#
You connect a repository once. From then on a push is the deploy: we fetch the commit, detect the framework, build it into a container image on an isolated build machine, start it, and route your app’s address to it. If the build fails, nothing changes — the previous version keeps serving and the deployment is marked failed with the reason.
Each app gets an address of the form https://v2-<app-name>.ahurasense.com straight away, with a certificate. You can add your own domains alongside it.
Deploy your first app#
- Open Apps in the dashboard and connect GitHub, GitLab or Bitbucket. This happens once, in the provider’s own consent screen.
- Choose New app, pick a repository and branch, and create it. The first deployment starts immediately.
- If the app needs environment variables to build or run, add them under Environment, then deploy again. See Environment variables.
- Push a commit. It builds and goes live on its own.
git push origin mainWays to integrate#
There are four ways to start a deployment. All of them produce the same kind of deployment, with the same build, logs and rollback.
| How | Deploys | Use it for |
|---|---|---|
| git push | The pushed branch: production for your production branch, a preview for any other | Everyday development. On by default for every connected repository. |
| Deploy hook | Your production branch | Deploying from CI after tests pass, from a CMS, or on a schedule. A secret URL; no key or session needed. |
| Deploy button | Your production branch | Redeploying by hand from the dashboard. |
| The API | Your production branch | Driving the platform from your own code with an API key: create an app, set variables, deploy, read logs, roll back. See the API reference. |
Creating an app is an API call too, so a whole environment can be stood up from a script. An API key acts as the person who created it and can do exactly what they can do in the dashboard — no more.
Two steps always happen outside any API, here and on every similar platform: connecting your git account, which runs through the provider’s own consent screen, and adding DNS records for a custom domain, which you do wherever your domain’s DNS is hosted.
Next#
Deployments
Production and preview branches, what each deployment state means, logs and rollback.
Deploy hooks
Deploy from your CI with a secret URL, and make your pipeline the only way to production.
Build configuration
Supported frameworks, your own Dockerfile, root directories and runtime versions.
Custom domains
Serve the app on your own domain, with a certificate issued automatically.
Something missing or wrong on this page? Tell us, and quote the page title.