Skip to content

Commit 0b9a44f

Browse files
Lachezar Lechevmaxpou
Lachezar Lechev
authored andcommitted
Adding sessions folder to chmod command in sf3 (maxpou#26)
Also adding comment for doctrine:fixtures:load
1 parent 569dd6c commit 0b9a44f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ Docker-symfony gives you everything you need for developing Symfony application.
5151
# Symfony2
5252
$ sf doctrine:database:create
5353
$ sf doctrine:schema:update --force
54+
# Only if you have `doctrine/doctrine-fixtures-bundle` installed
5455
$ sf doctrine:fixtures:load --no-interaction
5556
# Symfony3
5657
$ sf3 doctrine:database:create
5758
$ sf3 doctrine:schema:update --force
59+
# Only if you have `doctrine/doctrine-fixtures-bundle` installed
5860
$ sf3 doctrine:fixtures:load --no-interaction
5961
```
6062

@@ -119,7 +121,7 @@ $ docker-compose exec db mysql -uroot -p"root"
119121
120122
# F***ing cache/logs folder
121123
$ sudo chmod -R 777 app/cache app/logs # Symfony2
122-
$ sudo chmod -R 777 var/cache var/logs # Symfony3
124+
$ sudo chmod -R 777 var/cache var/logs var/sessions # Symfony3
123125
124126
# Check CPU consumption
125127
$ docker stats $(docker inspect -f "{{ .Name }}" $(docker ps -q))

0 commit comments

Comments
 (0)