Skip to content
This repository was archived by the owner on May 13, 2020. It is now read-only.

cleverer/event-dashboard

Repository files navigation

event-dashboard

A simple dashboard to publish events.

You can find a running version on https://rover.pfadiwinti.ch/.

Requirements

Installation

Composer and npm are assumed working.

  1. Clone the repository. The webroot should point to the public folder of the repository, but the php open_dir should include the full repo.

  2. Duplicate the file .env.example and rename it to .env.

    1. Fill out all config options except APP_KEY.
  3. Execute the following commands:

    composer install --optimize-autoloader --no-dev;
    npm install;
    php artisan key:generate;
    npm run prod;
    php artisan migrate;
    php artisan config:cache;
    php artisan route:cache;
  4. Enjoy!

Queues on shared Hosting

If you can't run the queue:work permanently (as described here), add a cronjob that runs every minute and executes the schedule:run artisan command. That might look like this:

* * * * * php path/to/project/artisan schedule:run >> /dev/null 2>&1

Updating

Use the following commands to update an existing install:

Caution: php artisan migrate --force might potentially be destructive!

php artisan down;
git pull;
composer install --optimize-autoloader --no-dev;
npm install;
npm run prod;
php artisan migrate --force;
php artisan config:cache;
php artisan route:cache;
php artisan up;

About

A simple dashboard to publish events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published