Automad is a PHP application that runs on most standard web servers. The system requirements are intentionally minimal, and you can choose between several installation options depending on your setup. Alternatively you can also try out a live demo first.
Automad is free to use. Its continued development is made possible through donations and sponsorships. You are welcome to support the project by making a donation or becoming a sponsor. More here ↗
System Requirements
Before installing Automad, make sure your environment meets the following requirements. Automad is designed to work smoothly even in simple setups, so these requirements are intentionally minimal while still allowing for flexible development and production environments.
- PHP 8.2 or newer with
gd,curlandzipmodules installed - A modern web browser for using the dashboard
Supported Web Servers
Even though Automad can operate with PHP’s built-in web server and does not strictly require a full production-ready server, one of the following web servers is recommended for production:
- Apache with
mod_rewriteenabled - LiteSpeed
- Nginx
Installation
Automad can be installed in several ways, depending on your environment and intended use. Whether you are setting up a local development environment or deploying Automad in production, choose the installation method that best fits your needs.
Docker
Use Docker for a fast, self-contained setup that behaves the same across environments. This option is well suited for development, testing, and reproducible deployments as well as production. The official Docker images ship with a fully configured web server as well as PHP out of the box.
docker run -dp 80:80 \
-v ./app:/app \
-e UID=$(id -u) \
--name mysite \
automad/automad
This example makes your site available on port 80 and mounts a local app directory for data persistence. A new user account for the Automad dashboard is created automatically. The account credentials are written to the container logs, which you can view using the following command:
docker logs mysite
You can now access the dashboard at /dashboard on your domain and sign in using the provided credentials.
Note that email settings must be configured to enable transactional emails and contact forms.
Docker Compose
As an alternative to the docker run command, the following docker-compose.yml file can be used to achieve the same configuration.
services:
app:
container_name: automad
image: automad/automad:latest
environment:
UID: 1000 # your host UID
ports:
- 80:80
volumes:
- ./app:/app
Use docker compose up -d to start the app. As with the docker run method, a user account for the Automad dashboard is created automatically, and the account credentials can be viewed in the container logs. After installation, configure the email settings to enable transactional emails and contact forms.
The source code for the official Docker images can be found here:
Composer
If your environment already includes a web server or you want to use PHP's built-in server, deploying Automad via Composer is likely the fastest option. The following command will installed the latest version inside the current working directory.
composer create-project automad/automad . v2.x-dev
The first user account is created automatically, and the credentials are displayed in the terminal during installation. To ensure Automad functions correctly, make sure PHP has write permissions for the installation directory and all its subdirectories.
Once permissions are set, you can navigate to the /dashboard route and log in using the credentials shown during installation.
Note that email settings must be configured to enable transactional emails and contact forms.
Manual
If you don’t have access to Docker or Composer, you can still set up Automad manually by following the steps outlined here. The manual installation requires a working web server or alternatively the usage of PHP's built-in server.
- Begin by downloading ↓ the latest distribution bundle and extracting it. Then upload all files to your web server’s document root. Don’t forget to include hidden files like
.htaccess, as they are required for proper operation. - Make sure PHP has write permissions for the installation directory and all its subdirectories.
- Once permissions are set, you can navigate to the
/dashboardroute and follow the instructions in order to create the first user account. - Configure email settings to enable transactional emails and contact forms.
Nginx
Automad comes with a pre-configured .htaccess file for Apache and LiteSpeed that handles URL rewriting automatically. If you’re using Nginx, simply edit your nginx.conf file and add the following lines to the http block to enable URL rewriting:
server {
root /path/to/automad;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
PHP's Built-in Web Server
You can also run Automad without installing a full production web server by using PHP’s built-in web server instead. Run the following command from the Automad root directory:
php -S localhost:8000
Coming from Version 1
Version 2 is a major release that introduces breaking changes to page content. To upgrade your existing site, please follow the steps outlined here to migrate your content to Automad 2. The migration process will attempt to automatically convert your Version 1 site into a fresh Version 2 installation, including pages, files, shared settings, and other data.
Next Steps
After installation, you may want to continue with the following steps:
- Invite other users to collaborate
- Install another theme
- Setting up automatic backups to GitHub