Skip to content

zbigan/keliones-draugas

 
 

Repository files navigation

KELIONĖS DRAUGAS

Instalation

First time

sudo su -c 'echo "127.0.0.1 symfony.local" >> /etc/hosts'
docker build .docker/php -t php.symfony 
docker build .docker/frontend/ -t frontend.symfony
docker-compose -f .docker/docker-compose.yml up -d

Front container

docker-compose -f .docker/docker-compose.yml run frontend.symfony
npm install
yarn run encore dev
yarn run encore dev --watch

PHP container

docker exec -it php.symfony bash
composer install
bin/console cache:clear
bin/console assets:install
bin/console doctrine:database:drop --if-exists --force
bin/console doctrine:database:create --if-not-exists
bin/console doctrine:migrations:migrate --no-interaction
bin/console doctrine:fixtures:load --no-interaction --append

URL

Default: http://symfony.local:8080

SSL: https://symfony.local:8443

About

2018 Pavasaris, Vilnius

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 39.0%
  • JavaScript 26.8%
  • HTML 26.4%
  • CSS 5.8%
  • Ruby 1.0%
  • Makefile 0.6%
  • Shell 0.4%