- For front-end web app, please refer to salmon-stats/web.
- This project provides API used by following apps:
- Salmonia (App Store) by @tkgstrator: iOS
- salmon-stats/app: Android
- salmon-stats/web: Web (Link)
- tkgstrator/Salmonia: Linux/Mac/Windows
git clone https://github.com/yukidaruma/salmon-stats
docker-compose build
cp example.env .env
# Update .env if necessary.
# You must provide Twitter API key in order to use login with Twitter feature.
vi .env
docker-compose exec app bash
composer install --no-dev # TODO: move `composer install` to Dockerfile
php artisan key:generate
php artisan migrate
# Fetch past Salmon Run schedules
php artisan salmon-stats:fetch-schedules
# Add **host** crontab
* * * * * php /{path_to_project}/artisan schedule:run >> /dev/null 2>&1
docker-compose exec app vendor/bin/phpunit
docker-compose up -d
This app is using following third-party APIs.
- Spla2 API by @m_on_yu for past Salmon Run schedules.
- Stat.ink API by @fetus_hina for weapon data.