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: docs/installation.md
+48-11Lines changed: 48 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,60 @@
1
1
# Installation
2
-
proophessor-do offers you three options to install the demo application. We support Vagrant, Docker and have manual
2
+
*proophessor-do* offers you three options to install the demo application. We support *Vagrant*, *Docker* and have *manual*
3
3
instructions.
4
4
5
+
> Docker is the recommended and fastest installation method
6
+
5
7
At first, please clone this repository by running `git clone https://github.com/prooph/proophessor-do.git` or download
6
-
it manually from GitHub. If you use a own local web server, put this project to the document root of the local web
7
-
server. Now navigate to the proophessor-do directory.
8
+
it manually from GitHub.
9
+
10
+
If you use a own local web server, put this project to the document root of the local web
11
+
server and navigate to the proophessor-do directory and follow the *Do it manually* instructions.
8
12
9
13
## Using Docker
10
-
First ensure [Docker](https://docs.docker.com/engine/installation/ubuntulinux/) and [Docker Compose](https://docs.docker.com/compose/install/) are installed. It's recommended to use the latest version of Docker and
11
-
Docker Compose. Now install the dependencies and start the containers. Docker will now download all dependencies and
12
-
starts the containers. This may take a while ...
14
+
First ensure [Docker](https://docs.docker.com/engine/installation/ubuntulinux/) and [Docker Compose](https://docs.docker.com/compose/install/)
15
+
are installed. It's recommended to use the latest version of Docker and Docker Compose. Docker will download all
16
+
dependencies and starts the containers.
17
+
18
+
### Step 1 - Install dependencies
19
+
20
+
To ensure you have the latest Docker images for the default application execute:
@@ -104,7 +141,7 @@ you should perform the [migrations](../migrations/) by running `php bin/migratio
104
141
### Step 4 - View It
105
142
106
143
Open a terminal and navigate to the project root. Then start the PHP built-in web server with `php -S 0.0.0.0:8080 -t public`
107
-
and open `http://localhost:8080/` in a browser.
144
+
and open [http://localhost:8080](http://localhost:8080/) in a browser.
108
145
109
146
*Note: You can also set the environmental variable `PROOPH_ENV` to `development`. That will forward exception messages to the client in case of an error.
110
147
When using the built-in web server you can set the variable like so: `PROOPH_ENV=development php -S 0.0.0.0:8080 -t public`*
0 commit comments