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
1. Copy `app/sprinkles.example.json` to `app/sprinkles.json`
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
-
2. Run `docker-compose run composer install` to install all composer modules.
11
-
3. Run `docker-compose run node npm install` to install all npm modules.
6
+
1. Clone the repository `git clone https://github.com/userfrosting/UserFrosting.git .` and change into that directory `cd userfrosting`
7
+
1. Run `cp app/sprinkles.example.json app/sprinkles.json` or upload your own (also upload your sprinkles if you have some)
8
+
2. 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) )
9
+
2. Run `sudo docker-compose run composer install` to install all composer modules.
10
+
3. Run `sudo docker-compose run node npm install` to install all npm modules.
12
11
13
12
Now you can start up the entire Nginx + PHP + MySQL stack using docker with:
14
13
15
-
$ docker-compose up
14
+
$ sudo docker-compose up -d
16
15
17
-
On the first run you need to init the database (your container name may be different depending on the name of your root directory):
16
+
On the first run you need to init the database (Be sure to execute this in the same directory, `${PWD##*/}` is a statement to get your current working directorys name. Docker uses it to name your container):
0 commit comments