WordPress quick setup guide

Published

Updated

Install WordPress on fortrabbit over SSH: download it into the environment, then run the web installer with the database credentials from the dashboard. WordPress updates itself in place, so Git deployment is optional.

Create an app with WordPress as the software, then install WordPress in the environment over SSH. WordPress writes plugins, themes, updates and uploads into its own folders, which does not fit Git deployment unless a setup such as Bedrock separates code and content.

Software template

WordPress carries no settings of its own, so an app running it deploys with the platform defaults:

WordPress (platform defaults)

DeploymentValue
Root path(the repository root)
Incoming firewallno
Deploy strategymerge
Deploy triggerpush
Deploy permissionrepositoryAccess
Cached directoriesnode_modulesvendor.pnpm-store

Install WordPress

Log in by SSH and download WordPress into the environment:

# 1. Login to your environment via SSH
$ ssh {{app-env-id}}@ssh.{{region}}.frbit.app

# Once you are logged in:

# 2. Download latest WordPress
$ wget https://wordpress.org/latest.tar.gz

# 3. Unpack wordpress
$ tar zxf latest.tar.gz

# 4. Move unpacked files to top level
$ mv wordpress/* .

# 5. Remove the downloaded container
$ rm -r wordpress latest.tar.gz
shell

Run the installer

Then open the default domain to run the installer:

https://{{app-env-id}}.{{region}}.frbit.app

The installer asks for the database credentials, which the MySQL settings of the environment in the dashboard show, then for the site title and the admin account. It ends at the login of wp-admin.

Installing themes and plugins

Install themes and plugins in wp-admin, or upload custom ones to wp-content by SFTP or rsync.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗