parent
962858c053
commit
1d8d748a0a
2 changed files with 15 additions and 8 deletions
10
Makefile
10
Makefile
|
@ -1,6 +1,10 @@
|
||||||
all:
|
backend:
|
||||||
npm install && \
|
npm install && \
|
||||||
npm run build && \
|
npm run build
|
||||||
cd frontend && \
|
|
||||||
|
frontend:
|
||||||
|
cd frontend && \
|
||||||
npm install && \
|
npm install && \
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
all: backend frontend
|
||||||
|
|
13
README.md
13
README.md
|
@ -14,6 +14,12 @@ GPSTracker is a simple Webapp that consists of:
|
||||||
|
|
||||||
## Building the application
|
## Building the application
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
- `node`
|
||||||
|
- `typescript`
|
||||||
|
- `make`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
@ -22,13 +28,10 @@ Or, if you want to build the backend and the frontend separately:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Backend
|
# Backend
|
||||||
npm install
|
make backend
|
||||||
npm run build
|
|
||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
cd frontend
|
make frontend
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue