Follow these instructions to set up a local farmOS development environment.
Run the following commands to create a farmOS directory and set up Docker containers for farmOS and PostgreSQL:
mkdir farmOS && cd farmOS curl https://raw.githubusercontent.com/farmOS/farmOS/2.x/docker/docker-compose.development.yml -o docker-compose.yml docker-compose up -d
http://localhost in a browser and install farmOS with the following
- Database type: PostgreSQL
- Database name:
- Database user:
- Database password:
- Advanced options > Host:
www directory in your favorite IDE.
In order to upload files, a private file path must be configured. The following
line must be added to
$settings['file_private_path'] = '/opt/drupal/web/sites/default/private/files';