Skip to content

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

  1. Clone the repository and go into its folder:

    Terminal

    git clone https://github.com/amedina068/feedbackpilgrim.git
    cd feedbackpilgrim
    
  2. Install the PHP packages without the development packages:

    Terminal

    composer install --no-dev --optimize-autoloader
    
  3. Build the dashboard assets and the widget:

    Terminal

    npm ci
    npm run build
    

    The build makes public/build and public/pilgrim.js.

  4. Copy the example environment file and make the app key:

    Terminal

    cp .env.example .env
    php artisan key:generate
    
  5. Set the values in .env. Read Configuration.

  6. Create the tables:

    Terminal

    php artisan migrate --force
    
  7. Create the storage link:

    Terminal

    php artisan fp:install --prepare
    
  8. Cache the configuration, the routes and the views:

    Terminal

    php artisan optimize
    
  9. 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.

  10. Give the user of the web server write access to storage/ and bootstrap/cache/.

  11. Start the queue worker and the scheduler. Read Queues and the scheduler.

Create the owner

To get the setup URL, run:

Terminal

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:

Terminal

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.

  1. Run php artisan optimize again.
  2. Restart the queue worker with php artisan queue:restart.

Next steps

Edit this page on GitHub