# idai-field-client

# iDAI.field 2 Client

## Development

### Prerequisites

You need the following components in order for the local server to work:

* [NodeJS](https://nodejs.org/download/)
* [gulp](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md)

### Installation

To install the necessary dependencies for the app run the following command in the working directory:

```
git clone https://github.com/codarchlab/idai-field-client.git
cd idai-field-client
npm install
```

### Running the development server

In order to run the frontend in the development server use the following command:
```
gulp server
```

After that you should be able to access the frontend under [http://localhost:1235/](http://localhost:1235/).

Any changes made to HTML, SCSS or JS files should automatically trigger a browser reload.

## Deployment

Build the iDAI.field 2 Client application by running

```
gulp build
```

After building you find the application in the "dist"-directory. 
Document installation, development and deployment.
Document installation, development and deployment.
