You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/README.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,22 @@ Second, initialize a new UserFrosting project:
6
6
7
7
1. Copy `app/sprinkles.example.json` to `app/sprinkles.json`
8
8
2. Run `chmod 777 app/{logs,cache,sessions}` to fix file permissions for web server. (NOTE: File
9
-
permissions should be properly secured in a production environment!)
10
-
or run `sudo chown -R 33 app/` (Changes the user to the www-data user in of image, more information [here](https://serversforhackers.com/c/dckr-file-permissions) )
9
+
permissions should be properly secured in a production environment!)
10
+
or run `sudo chown -R 33 app/{logs,cache,sessions}` (Changes the user to the www-data user of the image, more information [here](https://serversforhackers.com/c/dckr-file-permissions) )
11
11
2. Run `sudo docker-compose run composer install` to install all composer modules.
12
12
3. Run `sudo docker-compose run node npm install` to install all npm modules.
13
13
14
14
Now you can start up the entire Nginx + PHP + MySQL stack using docker with:
15
15
16
-
$ docker-compose up
16
+
$ sudo docker-compose up -d
17
17
18
18
On the first run you need to init the database (your container name may be different depending on the name of your root directory):
0 commit comments