2019-11-07 15:54:58 +00:00
|
|
|
# Farmmaps viewer
|
2019-06-26 12:35:47 +00:00
|
|
|
|
2019-11-07 15:54:58 +00:00
|
|
|
This is a sample FarmMaps client in Angular 7.x.
|
2019-06-26 12:35:47 +00:00
|
|
|
|
2019-11-07 13:34:18 +00:00
|
|
|
## Dependencies
|
2019-06-26 13:18:08 +00:00
|
|
|
|
2019-11-07 15:54:58 +00:00
|
|
|
* docker desktop
|
|
|
|
|
|
|
|
or
|
|
|
|
|
2019-11-07 13:34:18 +00:00
|
|
|
* npm 6.9.0
|
|
|
|
* nodejs 10.16.0
|
2019-11-07 15:54:58 +00: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 12:35:47 +00:00
|
|
|
|
2019-11-07 15:54:58 +00: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 12:35:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|