51 lines
859 B
Markdown
51 lines
859 B
Markdown
# Farmmaps viewer
|
|
|
|
This is a sample FarmMaps client in Angular 7.x.
|
|
|
|
## Dependencies
|
|
|
|
* docker desktop
|
|
|
|
or
|
|
|
|
* npm 6.9.0
|
|
* nodejs 10.16.0
|
|
* 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 https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
|
|
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
|
|
|
|
```
|
|
git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
|
|
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
|
|
|
|
|
|
|