AI Coding Academy
Learn to build a website with an AI, and put it online
Free lessons for somebody who has never used a coding AI. Start with nothing installed; finish with an address you can send to a customer.
Start the first lesson →What Erawan is
All 18 lessons published
Get started
Nothing installed, no account, and a live address by the end of it.
Never used a coding AI before? Start here.
Never used a coding AI before? Five honest ways in, from a browser tab with nothing installed to a full terminal setup — pick whichever fits.
Try Erawan's lab
Never used a coding AI before? Try it in the browser first — no install, no account, no terminal. The exact words to type to get a live link.
Connect Claude
Never used Claude before? Install nothing, connect one link, and the exact words to type to get a live link on Erawan.
Connect ChatGPT
Already use ChatGPT? Turn on one setting, connect it to Erawan with a custom connector, and the exact words to type to get a live link.
Connect Cursor
Never used Cursor before? Install it, open Agent, connect it to Erawan with one pasted line, and the exact words to type to get a live link.
Connect Claude Code
Never opened a terminal before? Install Claude Code, connect it to Erawan with one line, and the exact words to type to get a live link.
Connect Codex to Erawan
codex mcp add erawan --url … connects OpenAI's Codex to Erawan, and the installer also leaves the deploy playbook where Codex reads it. Both routes, and when to use which.
Introduction to Erawan
Your coding agent can write a working app in an afternoon. Erawan is the other half: it takes what the agent built and puts it on a link, with HTTPS, a database, and every version kept.
Make it real
The four things a website stops being a demonstration without.
Use your own domain with Erawan
The DNS records to create for a subdomain or a bare domain, why the apex needs two of them, the Cloudflare proxy that quietly blocks the certificate, and what to delete when you stop.
Add a sign-in for your users
Google and LINE, on the free plan, added with one command. Your app never sees or stores a password, and you choose which providers are offered.
Add a Postgres database to your app
One command attaches Postgres and puts DATABASE_URL in your app. On Hobby it is a database on a shared instance; from Pro it is an instance of its own. The size is fixed when it is created.
Keys and secrets in your app
Where an API key belongs, why a key written into your code is refused before it ships, and the difference between an environment variable and a secret you cannot read back.
Self-host Hermes Agent — two files, one deploy
Hermes Agent ships as a container image with a LINE, Telegram, Discord and Slack adapter already in it. Here is the whole of what you write to put it on your own HTTPS address — a three-line Dockerfile and a manifest, no code.
Keep it running
What to do on the day it does not work — before you need it.
When a build fails on Erawan
The platform hands back the reason rather than the whole log. What each of the four common failures looks like, including the one that prints nothing at all.
Roll back to the previous version
One command returns the app to the release before this one. It does not rebuild, it does not touch your database, and it is why two images are kept rather than one.
Rewind your database to an earlier point
Hobby rewinds to any hour, seven days back. Pro and Max rewind to the minute — seven days and thirty. What each one is underneath, and why the two are different mechanisms.
Run work on a schedule
A cron expression and a command. It runs with your app's image and environment, on UTC, and you can read what the last run printed.
Send email from your app
One command, and your app posts JSON to send mail. No provider account, no API key of your own, and a monthly allowance that is 500 on Hobby, 2,000 on Pro and 5,000 on Max.