File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ $ docker-compose exec php bash
119
119
$ docker-compose exec php composer update
120
120
121
121
# 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
123
124
# Same command by using alias
124
125
$ docker-compose exec php bash
125
126
$ sf cache:clear
@@ -131,7 +132,8 @@ $ docker-compose exec db mysql -uroot -p"root"
131
132
$ docker-compose exec redis redis-cli
132
133
133
134
# 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
135
137
136
138
# Check CPU consumption
137
139
$ docker stats $(docker inspect -f "{{ .Name }}" $(docker ps -q))
You can’t perform that action at this time.
0 commit comments