This commit is contained in:
parent
806a51d93d
commit
017ebd59f8
38
README.md
38
README.md
@ -2,21 +2,18 @@
|
|||||||
|
|
||||||
This is a sample FarmMaps client in Angular 7.x.
|
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
|
## Quick start
|
||||||
|
|
||||||
### Using docker
|
Use one of the two options below to get started.
|
||||||
|
|
||||||
|
## Option 1, Using docker
|
||||||
|
|
||||||
|
*Dependencies*
|
||||||
|
|
||||||
|
* docker desktop
|
||||||
|
|
||||||
|
*Setup*
|
||||||
|
|
||||||
```
|
```
|
||||||
docker pull node:10.16.0
|
docker pull node:10.16.0
|
||||||
@ -32,20 +29,31 @@ npm install -g @angular/cli
|
|||||||
npm install
|
npm install
|
||||||
ng serve --host 0.0.0.0
|
ng serve --host 0.0.0.0
|
||||||
```
|
```
|
||||||
|
*Go*
|
||||||
|
|
||||||
Point youre browser to http://localhost:4200
|
Point your browser to http://localhost:4200
|
||||||
|
|
||||||
### On youre local machine
|
## Option 2, Using local machine
|
||||||
|
|
||||||
|
*Dependencies*
|
||||||
|
|
||||||
|
* npm 6.9.0
|
||||||
|
* nodejs 10.16.0
|
||||||
|
* git
|
||||||
|
|
||||||
|
*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
|
||||||
```
|
```
|
||||||
Point youre browser to http://localhost:4200
|
*Go*
|
||||||
|
|
||||||
|
Point your browser to http://localhost:4200
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user