Skip to content

alexander4dev/grpc-example

Repository files navigation

Awesome Skeleton for modern development on PHP 7.1+ and RoadRunner

Installation (via composer)

composer create-project sunrise/awesome-skeleton-roadrunner app

Run application

rr serve -d -v

Documentation

Open

How to install RoadRunner

Read

Based on the following packages

Deploy

Database

Configuration

cp config/environment.php.example config/environment.php

Fill the database

php vendor/bin/doctrine orm:schema-tool:update --force

Apply migrations

php vendor/bin/doctrine-migrations migrate --all-or-nothing

Create systemd service

Generate an unit file for the systemd service manager

php app app:generate-systemd-unit-file

Register the unit file on the systemd service manager

cp app.suppliers.service /etc/systemd/system/
systemctl enable app.suppliers
systemctl daemon-reload

Check that everything is done correctly

systemctl status app.suppliers

Run the application

systemctl start app.suppliers

Show the application journal

journalctl -u app.suppliers

Advanced features of the application journal

journalctl -u app.suppliers -a --no-pager --follow --since "$(date --date="5 minutes ago" +%Y-%m-%d\ %H:%M:%S)"

Userful links

Update

Pull the latest updates for the application

git pull origin master

Restart the application

systemctl restart app.suppliers

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages