Skip to content

Commit

Permalink
transform debian package documentation into markdown file
Browse files Browse the repository at this point in the history
  • Loading branch information
dzc34 committed Aug 26, 2018
1 parent 6de0b1f commit c206fae
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 61 deletions.
79 changes: 79 additions & 0 deletions dist./debian_package/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Debian packages

Debian packages are automatically created by Maven in the `dist./debian_package/target` directory.

```bash
git clone https://github.com/Asqatasun/Contrast-Finder
cd Contrast-finder
git checkout develop
mvn clean install
cd   dist./debian_package/target
```

## Tomcat 7

### Install Contrast-Finder webapp + dependencies
```bash
dpkg -i contrast-finder-webapp_*_tomcat7.deb
apt-get -f install
```
Contrast-finder should be available at `http://localhost:8080/contrast-finder/`

### Uninstall Contrast-Finder webapp
```bash
dpkg --purge contrast-finder_webapp-for-tomcat7
```

#### Uninstall Contrast-Finder webapp + dependencies
```bash
dpkg --purge contrast-finder_webapp-for-tomcat7
apt-get remove tomcat7
apt-get autoremove
```

### See package information
```bash
dpkg -l contrast-finder_webapp-for-tomcat7 tomcat7
```

### Check directories and files
```bash
ls -l /var/lib/tomcat7/webapps
ls -l /etc/contrast-finder
ls -l /var/log/contrast-finder/
```


## Tomcat 8

### Install Contrast-Finder webapp + dependencies
```bash
dpkg -i contrast-finder-webapp_*_tomcat8.deb
apt-get -f install
```
Contrast-finder should be available at `http://localhost:8080/contrast-finder/`

### Uninstall Contrast-Finder webapp
```bash
dpkg --purge contrast-finder_webapp-for-tomcat8
```

#### Uninstall Contrast-Finder webapp + dependencies
```bash
dpkg --purge contrast-finder_webapp-for-tomcat8
apt-get remove tomcat8
apt-get autoremove
```

### See package information
```bash
dpkg -l tomcat8 contrast-finder_webapp-for-tomcat8
```

### Check directories and files
```bash
ls -l /var/lib/tomcat8/webapps
ls -l /etc/contrast-finder
ls -l /var/log/contrast-finder/
```

61 changes: 0 additions & 61 deletions dist./debian_package/README.txt

This file was deleted.

0 comments on commit c206fae

Please sign in to comment.