- Wanted to create currency fool page on frontend so you can see which currency have changed. It started taking too much time
- PHP Code Sniffer, PHP Stan, Laravel Pint.
- There are three test with faking Event and Http request to monobank.
- To run
docker-compose run --rm artisan test
- Clone repo
- create
.env
file fordocker
in the root folder andlaravel
in the src folder. See .env.example
for each one.- add correct config for mysql
- add credentials for pusher as well
- run
sh deployment-helper.sh
(for details see file).
- If you want to use telescope you should configure mysql database configuration.
- Fond of actions. Using lorisleiva/laravel-actions
- Mysql is used only for telescope, on production you maynot need it
Used seperate containers for cron, artisan, npm, composer and main app (php). Containers like npm, composer, artisan are "sleeping" and a activate if requested.
docker-compose run --rm artisan some-command
docker-compose run --rm composer install
docker-compose run --rm npm install