Nav apraksta

Oliver Gierke b97eef14fe #162 - Added Interval.toDuration(). 8 gadi atpakaļ
doc 77c5b1abda #5 - Added Buildsystem Maven to documentation. 10 gadi atpakaļ
etc 22d0c2dfa1 #25 - Overhauled domain code. 10 gadi atpakaļ
src b97eef14fe #162 - Added Interval.toDuration(). 8 gadi atpakaļ
.gitignore c4db49c33a #32 - Added changelog to website. 10 gadi atpakaļ
Salespoint.sonargraph f1087fe51a #150 - Updated Sonargraph architecture description. 8 gadi atpakaļ
lombok.config 9cd370f13f #9 - Introduced simplified Quantity abstraction. 9 gadi atpakaļ
pom.xml b2d1abf189 #155 - Prepare next development iteration. 8 gadi atpakaļ
readme.adoc 557b462e42 #17 - Added artifact and site deployment. 10 gadi atpakaļ

readme.adoc

# Salespoint Framework

## Prerequisites

- Java 8
- Git
- Maven 3.x

## Building the project

.Building the project
[source, bash]
----
$ git clone https://github.com/st-tu-dresden/salespoint
$ cd salespoint
$ mvn clean install
----

## Documentation

The reference documentation is written in Asciidoc and built using Asciidoctor. The main documentation source file is located in `src/main/asciidoc`.

To build the reference documentation simply run `mvn generate-resources` on the command line. This generates the following HTML files:

* the Salespoint website in `target/generated-docs/index.html`.
* the Salespoint reference in `target/generated-docs/salespoint-reference.html`.

## Deployment

To deploy artifacts to the salespoint repository, simply run `mvn clean deploy`. This requires your `settings.xml` (located in `~/.m2`) to contain a server defintion with the credentials to access the Salespoint server via SFTP:

[source, xml]
----

salespoint



----

To deploy the website and reference documentation, run `mvn site:deploy`.