Skip to content
RustPress

Documentation Start

Getting started

Install rp with one command, start a site with rp serve, finish the setup wizard and find your way around the site folder and admin.

Updated

This page takes you from nothing to a running RustPress site: install the rp program, start a site, finish the setup wizard and find the admin.

Install rp

On Linux (any distribution) or macOS, run:

curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh

The installer checks the download’s checksum and the release signature before it installs rp. You can also download a build for Linux, macOS or Windows from the Releases page.

rp is one self-contained program. You do not need Rust, PHP, a web server or a database server.

Start a site

rp serve --root mysite

rp serve prints an address like http://127.0.0.1:8080/rp-admin/install?key=…. Open it in your browser.

Finish the setup wizard

The wizard asks for two things:

  • A database. SQLite needs no setup. You can also use MySQL, MariaDB, PostgreSQL or an existing WordPress database.
  • Your admin account.

The key in the printed address is a one-time setup key. It makes sure nobody else sets the site up before you do.

Prefer the shell? rp install --url … --title … --user … --password … --email … runs the same install without the browser.

Where your files live

Each site has a site folder. rp uses the folder given with --root, then $RP_ROOT, then the current folder. It holds:

  • rp-config.toml: the site’s settings, created on first run with fresh secret keys.
  • rp-content/: themes, plugins, uploads and the AI workspace.
  • sdk/: the plugin SDKs.

Admin and site addresses

AddressWhat it is
/rp-admin/The admin, with clean names such as /rp-admin/themes, /rp-admin/posts, /rp-admin/settings/reading and /rp-admin/ai
/rp-loginLog in
/rp-json/REST API with standard wp/v2 shapes; /wp-json/ also answers
/rp-content/…Files; /wp-content/… links in old content still resolve
/sitemap.xml, /rp-comments, /rp-cronSitemap, comment posting and scheduled tasks

Old /wp-admin/*.php and /wp-login.php links redirect to their RustPress equivalents.

Next steps