Skip to content

nkgreeg/test-work

Repository files navigation

Posiflora test work

Notes

  • All commands run from project root
  • I use actual command docker compose but you can replace it to docker-compose

Development

Copy and edit .env config

cp .env .env.local

Telegram mock settings

  • .evn.local set TELEGRAM_MOCK true to use mock telegram client that do not send message in chat

Copy and edit compose.override.yaml

cp compose.override.example.yaml compose.override.yaml

Up local database

docker compose -f compose.yaml -f compose.override.yaml up -d

Prepare

composer install
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate

Create seed data

php bin/console doctrine:fixtures:load

Run

symfony serve

Tests

php bin/phpunit

Docker

Copy and edit .env config

cp .env.docker .env.docker.local

Up

docker compose -f docker-compose.yaml --env-file .env.docker.local up --build

TODO

  • JavaScript in HTML-file without webpack
  • All apps run as root

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages