A simple dashboard to publish events.
You can find a running version on https://rover.pfadiwinti.ch/.
- composer
- npm (node.js)
- Further requirements: Laravel Requirements
Composer and npm are assumed working.
-
Clone the repository. The webroot should point to the public folder of the repository, but the php open_dir should include the full repo.
-
Duplicate the file .env.example and rename it to .env.
- Fill out all config options except
APP_KEY
.
- Fill out all config options except
-
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;
-
Enjoy!
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
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;