Skip to content

Commit

Permalink
(doc) reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Oct 13, 2018
1 parent 9238cd0 commit b055ae5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
13 changes: 8 additions & 5 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,21 @@ First, go to project's root and make the `do.sh` utility script executable: `chm
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update && sudo apt-get install docker-ce
sudo groupadd docker && sudo usermod -aG docker jon # replace 'jon' by your user name (see whoami)
sudo apt-get update
sudo apt-get install docker-ce
sudo groupadd docker
sudo usermod -aG docker jon # replace 'jon' by your login
sudo systemctl enable docker
```
* Install **Docker Compose**:
```bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```
* Build and install application image via `do jib`.
* Build and install application image:
```
do jib
```
* Edit `docker-compose.yml` if needed (e.g. to customize ports).
* Then run application image and dependencies via Docker Compose:
```bash
Expand All @@ -40,5 +45,3 @@ First, go to project's root and make the `do.sh` utility script executable: `chm
mongo localhost/manon
```
* Check application connectivity by visiting `http://localhost:8080/actuator/health` (default login/password is `ROOT/woot`).


14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
[![Total alerts](https://img.shields.io/lgtm/alerts/g/jonathanlermitage/manon.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/jonathanlermitage/manon/alerts/) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/jonathanlermitage/manon.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/jonathanlermitage/manon/context:java) [![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/3tfcq04yte3ff1iq?svg=true)](https://ci.appveyor.com/project/jonathanlermitage/manon) [![Travis Build status](https://travis-ci.org/jonathanlermitage/manon.svg?branch=spring5-light)](https://travis-ci.org/jonathanlermitage/manon) [![Build Status](https://api.cirrus-ci.com/github/jonathanlermitage/manon.svg?branch=spring5-light)](http://cirrus-ci.com/github/jonathanlermitage/manon/spring5-light)
[![codecov](https://codecov.io/gh/jonathanlermitage/manon/branch/spring5-light/graph/badge.svg)](https://codecov.io/gh/jonathanlermitage/manon/branch/spring5-light) [![Sonarcloud status](https://sonarcloud.io/api/project_badges/measure?project=nanon%3Amanon-light&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanon%3Amanon-light) [![license](https://img.shields.io/github/license/jonathanlermitage/manon.svg)](https://github.com/jonathanlermitage/manon/blob/master/LICENSE.txt) <a href="https://twitter.com/intent/follow?screen_name=JLermitage"><img src="https://img.shields.io/twitter/follow/JLermitage.svg?style=social" alt="follow on Twitter"></a>
<p align="center">
<a href="https://ci.appveyor.com/project/jonathanlermitage/manon"><img src="https://ci.appveyor.com/api/projects/status/3tfcq04yte3ff1iq?svg=true"/></a>
<a href="https://travis-ci.org/jonathanlermitage/manon"><img src="https://travis-ci.org/jonathanlermitage/manon.svg?branch=spring5-light"/></a>
<a href="http://cirrus-ci.com/github/jonathanlermitage/manon/spring5-light"><img src="https://api.cirrus-ci.com/github/jonathanlermitage/manon.svg?branch=spring5-light"/></a>
<a href="https://github.com/jonathanlermitage/manon/blob/master/LICENSE.txt"><img src="https://img.shields.io/github/license/jonathanlermitage/manon.svg"/></a>
<a href="https://twitter.com/intent/follow?screen_name=JLermitage"><img src="https://img.shields.io/twitter/follow/JLermitage.svg?style=social" alt="follow on Twitter"></a>
<br/>
<a href="https://sonarcloud.io/dashboard?id=nanon%3Amanon-light"><img src="https://sonarcloud.io/api/project_badges/measure?project=nanon%3Amanon-light&metric=alert_status"/></a>
<a href="https://codecov.io/gh/jonathanlermitage/manon/branch/spring5-light"><img src="https://codecov.io/gh/jonathanlermitage/manon/branch/spring5-light/graph/badge.svg"/></a>
<a href="https://lgtm.com/projects/g/jonathanlermitage/manon/alerts/"><img src="https://img.shields.io/lgtm/alerts/g/jonathanlermitage/manon.svg?logo=lgtm&logoWidth=18"/></a>
<a href="https://lgtm.com/projects/g/jonathanlermitage/manon/context:java"><img src="https://img.shields.io/lgtm/grade/java/g/jonathanlermitage/manon.svg?logo=lgtm&logoWidth=18"/></a>
</p>

1. [Project](https://github.com/jonathanlermitage/manon#project)
2. [Author](https://github.com/jonathanlermitage/manon#author)
Expand Down

0 comments on commit b055ae5

Please sign in to comment.