Command-line (CLI) Setup Fallback

Command-line (CLI) Setup Fallback

Step-by-step guide on Command-line (CLI) Setup Fallback for EnvaTicket.

Command-line Setup Fallback

If you prefer installing EnvaTicket manually via terminal/SSH, follow these instructions:

  1. Upload the release zip contents to your server.
  2. Copy the environment template file:
    cp .env.example .env
  3. Open .env and configure your application parameters:
    • DB_CONNECTION (default: mysql)
    • DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD
    • APP_URL (Your site domain)
  4. Install dependencies and generate the unique application encryption key:
    composer install --no-dev --optimize-autoloader
    php artisan key:generate --force
  5. Run database migrations and populate default permissions, roles, statuses, priorities, and mail templates:
    php artisan migrate --seed --force
  6. Link the public storage directory so avatars and attachments are accessible:
    php artisan storage:link
3 views Thanks for your feedback!
Was this helpful?