Guides
Deploy guides
Step-by-step guides to deploy each framework and stack on Hangar, from the repository to a live URL with HTTPS.
JavaScript and TypeScript
- Next.jsDeploy a Next.js app on Hangar from a Git repository, with server rendering, a custom domain, HTTPS and a deploy on every push.
- Node.jsDeploy a Node.js server on Hangar, such as Express, Fastify or NestJS, from a Git repository, with a database, WebSockets and HTTPS.
- AstroDeploy an Astro site on Hangar, as a static build served with compression and clean URLs, or with server rendering through the Node adapter.
Python
- DjangoDeploy a Django app on Hangar with gunicorn, a managed PostgreSQL database, migrations on every release and static files served by WhiteNoise.
- FastAPIDeploy a FastAPI app on Hangar with uvicorn, a managed PostgreSQL database, Alembic migrations on release and HTTPS on your domain.
- FlaskDeploy a Flask app on Hangar with gunicorn, detected and started for you, with PostgreSQL, migrations on release and HTTPS on your domain.
Ruby and PHP
- Ruby on RailsDeploy a Rails app on Hangar with the Dockerfile Rails generates, a managed PostgreSQL database, migrations on release and HTTPS on your domain.
- LaravelDeploy a Laravel app on Hangar from Git with a managed MySQL or PostgreSQL database, queue workers, the scheduler and HTTPS on your domain.