Skip to content

Commit 52b4a6b

Browse files
authored
Merge pull request maxpou#4 from n1c01a5/readme_sf3
[doc]Add symfony3 commands
2 parents ff41440 + ca17bbc commit 52b4a6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ $ docker-compose exec php bash
119119
$ docker-compose exec php composer update
120120
121121
# SF commands (Tips: there is an alias inside php container)
122-
$ docker-compose exec php php /var/www/symfony/app/console cache:clear
122+
$ docker-compose exec php php /var/www/symfony/app/console cache:clear # Symfony2
123+
$ docker-compose exec php php /var/www/symfony/bin/console cache:clear # Symfony3
123124
# Same command by using alias
124125
$ docker-compose exec php bash
125126
$ sf cache:clear
@@ -131,7 +132,8 @@ $ docker-compose exec db mysql -uroot -p"root"
131132
$ docker-compose exec redis redis-cli
132133
133134
# F***ing cache/logs folder
134-
$ sudo chmod -R 777 app/cache app/logs
135+
$ sudo chmod -R 777 app/cache app/logs # Symfony2
136+
$ sudo chmod -R 777 var/cache var/logs # Symfony3
135137
136138
# Check CPU consumption
137139
$ docker stats $(docker inspect -f "{{ .Name }}" $(docker ps -q))

0 commit comments

Comments
 (0)