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 run build && \
|
||||
cd frontend && \
|
||||
npm run build
|
||||
|
||||
frontend:
|
||||
cd frontend && \
|
||||
npm install && \
|
||||
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
|
||||
|
||||
Requirements:
|
||||
|
||||
- `node`
|
||||
- `typescript`
|
||||
- `make`
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
@ -22,13 +28,10 @@ Or, if you want to build the backend and the frontend separately:
|
|||
|
||||
```sh
|
||||
# Backend
|
||||
npm install
|
||||
npm run build
|
||||
make backend
|
||||
|
||||
# Frontend
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
||||
make frontend
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
|
Loading…
Add table
Reference in a new issue