|
@@ -6,30 +6,28 @@ Sample app
|
|
|
* Docker (tested on 17.04.0-ce)
|
|
|
* Mongodb (tested on 3.4.2+)
|
|
|
|
|
|
-## Building
|
|
|
+## Fetching & Building & Running
|
|
|
|
|
|
fetching
|
|
|
-```
|
|
|
+```bash
|
|
|
git clone http://dev.hexasoftware.com/stdio/sampleapp.git
|
|
|
```
|
|
|
|
|
|
building
|
|
|
-```
|
|
|
+```bash
|
|
|
make
|
|
|
-```
|
|
|
-or
|
|
|
-```
|
|
|
-make local
|
|
|
+## OR
|
|
|
+#make local
|
|
|
```
|
|
|
|
|
|
|
|
|
Creating a release container 'sampleapp'
|
|
|
-```
|
|
|
+```bash
|
|
|
make dist
|
|
|
```
|
|
|
|
|
|
running
|
|
|
-```
|
|
|
+```bash
|
|
|
docker run --name mysampleappcontainer sampleapp
|
|
|
```
|
|
|
|