# Getting started with Anasaki Studio

> Install Anasaki Studio on your own server with Docker in a few minutes, go through the setup wizard and start building your site right away

Source: https://anasaki.live/docs/en/studio/getting-started

Anasaki Studio is an open-source (MIT) website builder and CMS — manage content, design pages freely in a Figma-like designer and add features with plugins from the Plugin Store. You install it on your own server with Docker; there is no source code to download.

> [!NOTE]
> **Want to try it first?** Open the [demo site](https://democms.anasaki.live/admin/) with the email `demo@example.com` and the password `demo1234` — design pages, write posts and install plugins as you like. The demo resets itself every 60 minutes.

## What you need

- A server or computer that runs **Docker** and **Docker Compose** (at least 1 GB of RAM is recommended)
- The ready-made image `chichat/anasaki-studio` supports both `linux/amd64` and `linux/arm64` — it runs on ordinary VPSes, Raspberry Pi 4/5 and M-series Macs
- To go live on the internet: a domain and a reverse proxy that handles HTTPS (for example Caddy, Nginx or Cloudflare)

## Install

1. Create a folder and download the 3 files you need: `docker-compose.yml`, `.env.example` (saved as `.env`) and the script `docker/mysql-init/10-site-code.sh`
    0 
2. Open `.env` and fill in the 4 **required** values (generate random ones with `openssl rand -hex 32` or `openssl rand -hex 16`)
    1 
3. Start it
    2 
4. Open `http://your-server:8090/admin/` and the **setup wizard** appears. The public website is at `http://your-server:8090/`.

> [!WARNING]
> `docker compose up` refuses to start while `JWT_SECRET`, `MYSQL_PASSWORD`, `MYSQL_ROOT_PASSWORD` or `CODE_DB_PASSWORD` is empty (there are no default passwords). Use **letters and digits only**, because the database passwords are part of a connection string.

> [!NOTE]
> Always keep the `docker/mysql-init/` folder next to `docker-compose.yml` — on the first start its script creates the `anasaki_code` database and a separate MySQL user for Site Code (which cannot touch the CMS tables). See [The Site Code database](/docs/en/developers/database).

## The setup wizard

It takes less than a minute: 4 steps, then the recommended plugins.

1. **Language** — the language of the admin (Thai, English, Japanese, Chinese or Korean). You can change it later, and every user picks their own.
2. **Site details** — the site name and tagline. Tick **Add sample content (home page, posts, menus)** to start from a sample site (recommended for beginners; delete it later). Without it you get an empty home page.
3. **Administrator account** — name, email and password (at least 8 characters). This account can do everything.
4. **Review** — check the details, then press **Install and get started**.
5. **Recommended plugins** — the official plugins the Plugin Store recommends (such as SEO, Forms and Analytics) with the permissions each one asks for. Tick the ones you want and press **Install selected**, or press **Skip** — you can install or remove plugins later on the **Plugins** page.

> [!NOTE]
> If the server cannot reach the Plugin Store, or the Store has no recommended plugins, the wizard still finishes normally. Each plugin is described in [Official plugins](/docs/en/store/official-plugins).

To install without the wizard, set both `ADMIN_EMAIL` and `ADMIN_PASSWORD` in `.env`: when the database has no users yet, the system creates the administrator and the sample content for you.

### Choosing a kind of site (2.5)

The setup offers a **kind of site** — café, online shop, service / clinic, news blog, company, courses, portfolio or organisation — and builds a home page, menu, content types and sample items for it (all editable), with the plugins it needs ticked in the next step.

## What to do next

- **Site settings → General** — site name, tagline, logo, icon and time zone ([Site settings](/docs/en/studio/site-settings))
- **Pages → Design** — make the home page your own ([Designing pages](/docs/en/studio/designer))
- **Posts & News → Write a new post** — posts appear on the home page and the blog automatically ([Posts, categories and menus](/docs/en/studio/content))
- **Site settings → Security** — change the admin address from `/admin` to something hard to guess
- **Site settings → Email** — add SMTP for password resets, welcome emails and plugin notifications
- Set `SITE_URL` (and `TRUST_PROXY=true` behind a reverse proxy) before going live — see [.env variables and Docker settings](/docs/en/studio/env-variables)

## Updating

```sh
docker compose pull && docker compose up -d
```

All data (the database, uploaded files and plugins) lives in Docker volumes, so nothing is lost when you update. See the full steps and caveats in [Updating](/docs/en/studio/upgrade).
