Docs Getting started
Install without Docker
Install Feedback Pilgrim on a server with PHP and a web server, without Docker. SQLite or MySQL, with or without Redis.
This page installs Feedback Pilgrim on a Linux server with PHP and a web server. The Docker image is faster to install and does these steps for you. Read Install with Docker.
Requirements
| Item | Version or detail |
|---|---|
| PHP | 8.3 or later (composer.json requires ^8.3) |
| PHP extensions | pdo_sqlite or pdo_mysql, gd, exif, pcntl, opcache and zip. Add redis if you use Redis. The Docker image has these extensions. |
| Composer | 2 |
| Node.js | 24, to build the assets. The server does not need Node.js after the build. |
| A database | SQLite 3, or MySQL 8.4. For SQLite, the sqlite3 binary must also be installed. |
| Redis | Optional. The Compose stack uses Redis 7.4. |
| A web server | Its document root must be the public/ folder. |
Without Redis, set CACHE_DRIVER, SESSION_DRIVER and QUEUE_CONNECTION to database. With Redis, the app uses the phpredis client (REDIS_CLIENT=phpredis), so PHP needs the redis extension.
The deploy/ folder of the app repository has example files for an install without Docker:
| File | What it is |
|---|---|
nginx/feedbackpilgrim.conf |
NGINX with PHP-FPM |
caddy/Caddyfile |
Caddy with PHP-FPM |
systemd/feedbackpilgrim-queue.service |
The queue worker as a systemd service |
systemd/feedbackpilgrim-scheduler.service |
The scheduler as a systemd service |
supervisor/feedbackpilgrim.conf |
The queue worker and the scheduler as Supervisor programs |
The files use the app folder /var/www/feedbackpilgrim, the user www-data and the PHP-FPM socket /run/php/php8.3-fpm.sock. Replace these values with the values of your server.
Install
-
Clone the repository and go into its folder:
git clone https://github.com/amedina068/feedbackpilgrim.git cd feedbackpilgrim -
Install the PHP packages without the development packages:
composer install --no-dev --optimize-autoloader -
Build the dashboard assets and the widget:
npm ci npm run buildThe build makes
public/buildandpublic/pilgrim.js. -
Copy the example environment file and make the app key:
cp .env.example .env php artisan key:generate -
Set the values in
.env. Read Configuration. -
Create the tables:
php artisan migrate --force -
Create the storage link:
php artisan fp:install --prepare -
Cache the configuration, the routes and the views:
php artisan optimize -
Configure the web server. Send the dashboard domain and the wildcard of the projects to
public/index.php. Start from the NGINX or the Caddy example above. -
Give the user of the web server write access to
storage/andbootstrap/cache/. -
Start the queue worker and the scheduler. Read Queues and the scheduler.
Create the owner
To get the setup URL, run:
php artisan fp:setup-url
Open the URL. Create the owner account and the first project.
To create the owner in the terminal instead, run:
php artisan fp:install
Read Accounts and registration for the options of fp:install.
After a change to .env
php artisan optimize caches the configuration. If you change .env after that, the app does not see the change.
- Run
php artisan optimizeagain. - Restart the queue worker with
php artisan queue:restart.