Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

matical/himekawa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Test Coverage Style CI Status

** incomplete **

Dependencies

Installing

  • git clone https://github.com/matical/himekawa - Clone the repo
  • composer install - Install PHP dependencies
  • yarn - Install frontend assets
  • yarn run prod - Compile frontend assets
  • cp .env.example .env
    • Fill in your secrets here. Fields should be pretty self explanatory.
  • php artisan key:generate
  • php artisan migrate
  • php artisan apk:import - Populates the watch list with apps from resources/apps.json
  • Check out the GSF generation guide for filling in the 3 fields.

Scheduler

Two important tasks are scheduler in Laravel's console kernel.

  • apk:update, runs every 15 minutes
  • apk:prund-old, runs once a day

If nothing goes wrong, this app is basically requires zero intervention. But time hasn't stood still, so GP occasionally breaks stuff.

Example Crontab config

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