2019-11-07 16:54:58 +01:00
|
|
|
# Farmmaps viewer
|
2019-06-26 14:35:47 +02:00
|
|
|
|
2019-11-07 16:54:58 +01:00
|
|
|
This is a sample FarmMaps client in Angular 7.x.
|
2019-06-26 14:35:47 +02:00
|
|
|
|
2019-11-07 14:34:18 +01:00
|
|
|
## Dependencies
|
2019-06-26 15:18:08 +02:00
|
|
|
|
2019-11-07 16:54:58 +01:00
|
|
|
* docker desktop
|
|
|
|
|
|
|
|
or
|
|
|
|
|
2019-11-07 14:34:18 +01:00
|
|
|
* npm 6.9.0
|
|
|
|
* nodejs 10.16.0
|
2019-11-07 16:54:58 +01:00
|
|
|
* git
|
|
|
|
|
|
|
|
|
|
|
|
## Quick start
|
|
|
|
|
|
|
|
### Using docker
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run -t -i --entrypoint /bin/bash -p 4200:4200 node:10.16.0
|
|
|
|
```
|
|
|
|
|
|
|
|
Inside the running container
|
|
|
|
```
|
|
|
|
git clone ...
|
|
|
|
cd FarmMapslib
|
|
|
|
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
|
|
|
|
npm install -g @angular/cli
|
|
|
|
npm install
|
|
|
|
ng serve --host 0.0.0.0
|
|
|
|
```
|
|
|
|
|
|
|
|
Point youre browser to http://localhost:4200
|
|
|
|
|
|
|
|
### On youre local machine
|
2019-06-26 14:35:47 +02:00
|
|
|
|
2019-11-07 16:54:58 +01:00
|
|
|
```
|
|
|
|
git clone ...
|
|
|
|
cd FarmMapslib
|
|
|
|
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
|
|
|
|
npm install -g @angular/cli
|
|
|
|
npm install
|
|
|
|
ng serve
|
|
|
|
```
|
|
|
|
Point youre browser to http://localhost:4200
|
2019-06-26 14:35:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|