Skip to content

Commit 195ee65

Browse files
#982210: Improve README file
1 parent 8803be8 commit 195ee65

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ This project makes easy to deploy any Mendix app using [Docker](https://www.dock
66

77
* Open a terminal in your OS
88
* Navigate to the location where you want to checkout this project
9-
* Execute ```git clone [email protected]:mendix/docker-mendix-buildpack.git```
10-
* Execute ```cd docker-mendix-buildpack```
11-
* Execute ```make get-sample```
12-
* Execute ```make create-database```
13-
* Execute ```make build-image```
9+
* Clone this project ```git clone [email protected]:mendix/docker-mendix-buildpack.git```
10+
* Go to project folder ```cd docker-mendix-buildpack```
11+
* Download an example app ```make get-sample```
12+
* Start a database container ```make create-database```
13+
* Build the image ```make build-image```
1414
* List the database container: ```docker ps```
1515
* Find the database container name in the ```NAMES``` column
1616
* Check the IP of the database executing ```docker inspect DATABASE_CONTAINTER_NAME | grep IP```
@@ -34,6 +34,17 @@ Because internally the image uses [CF Mendix Buildpack](https://github.com/mendi
3434

3535
> In future releases we will support more features like the configuration of constants or the Java heap size. Please check the [CF Buildpack](https://github.com/mendix/cf-mendix-buildpack)
3636
37+
## Installation
38+
39+
In order to provide other Mendix app to the image, you must change the location of the app's source code (it must contain a file with *.mpr* extension) in the ```Makefile``` as follow:
40+
41+
```
42+
build-image:
43+
docker build \
44+
--build-arg BUID_PATH=change_this_value \
45+
-t mendix/mendix-buildpack:v1 .
46+
```
47+
3748
## Build Details
3849

3950
This was built with the following:

0 commit comments

Comments
 (0)