Trigger build
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter Bastiani 2023-12-29 13:50:43 +00:00
parent 7943cefddf
commit 6254a3be98

128
README.md
View File

@ -1,65 +1,65 @@
# Farmmaps viewer # Farmmaps viewer
This is a sample FarmMaps client in Angular 7.x. This is a sample FarmMaps client in Angular 7.x.
## Quick start ## Quick start
Use one of the two options below to get started. Use one of the two options below to get started.
## Option 1, Using docker ## Option 1, Using docker
*Dependencies* *Dependencies*
* docker desktop * docker desktop
*Setup* *Setup*
``` ```
docker pull node:12.13.1 docker pull node:12.13.1
docker run -t -i --entrypoint /bin/bash -p 4200:4200 node:12.13.1 docker run -t -i --entrypoint /bin/bash -p 4200:4200 node:12.13.1
``` ```
Inside the running container Inside the running container
``` ```
git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
cd FarmMapsLib cd FarmMapsLib
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/ npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
npm install -g @angular/cli npm install -g @angular/cli
npm install npm install
ng serve --host 0.0.0.0 ng serve --host 0.0.0.0
``` ```
*Go* *Go*
Point your browser to http://localhost:4200 Point your browser to http://localhost:4200
## Option 2, Using local machine ## Option 2, Using local machine
*Dependencies* *Dependencies*
* npm 6.9.0 * npm 6.9.0
* nodejs 10.16.0 * nodejs 10.16.0
* git * git
*Setup* *Setup*
``` ```
git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
cd FarmMapsLib cd FarmMapsLib
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/ npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
npm install -g @angular/cli npm install -g @angular/cli
npm install npm install
ng serve ng serve
``` ```
*Go* *Go*`
Point your browser to http://localhost:4200 Point your browser to http://localhost:4200
*ESLint* *ESLint*
``` ```
npm run lint src npm run lint src
npm run lint projects/common/src npm run lint projects/common/src
npm run lint projects/common-map/src npm run lint projects/common-map/src
npm run lint projects/common-map3d/src npm run lint projects/common-map3d/src
``` ```