composer create-project sunrise/awesome-skeleton-roadrunner app
rr serve -d -v
- https://github.com/doctrine/orm
- https://github.com/middlewares
- https://github.com/PHP-DI/PHP-DI
- https://github.com/Seldaek/monolog
- https://github.com/spiral/roadrunner
- https://github.com/sunrise-php/http-router
- https://github.com/symfony/validator
- https://www.php-fig.org/
cp config/environment.php.example config/environment.php
php vendor/bin/doctrine orm:schema-tool:update --force
php vendor/bin/doctrine-migrations migrate --all-or-nothing
php app app:generate-systemd-unit-file
cp app.suppliers.service /etc/systemd/system/
systemctl enable app.suppliers
systemctl daemon-reload
systemctl status app.suppliers
systemctl start app.suppliers
journalctl -u app.suppliers
journalctl -u app.suppliers -a --no-pager --follow --since "$(date --date="5 minutes ago" +%Y-%m-%d\ %H:%M:%S)"
- https://wiki.debian.org/systemd
- https://wiki.debian.org/systemd/Services
- https://manpages.debian.org/stretch/systemd/journalctl.1.en.html
- https://manpages.debian.org/stretch/systemd/systemctl.1.en.html
git pull origin master
systemctl restart app.suppliers