2020-12-02 17:50:10 -03:00
|
|
|
full: docs web build
|
2020-02-23 12:02:47 -03:00
|
|
|
|
2021-03-19 18:18:16 -03:00
|
|
|
build:
|
2018-12-23 18:26:24 -03:00
|
|
|
go build
|
2018-12-01 13:46:24 -03:00
|
|
|
|
2020-02-11 14:48:38 -03:00
|
|
|
run: build
|
2020-01-26 14:30:45 -03:00
|
|
|
./justlog
|
|
|
|
|
|
|
|
run_web:
|
2020-01-31 19:05:56 -03:00
|
|
|
cd web && yarn start
|
2020-01-26 14:30:45 -03:00
|
|
|
|
2020-02-23 12:02:47 -03:00
|
|
|
web: init_web
|
2020-02-07 17:10:22 -03:00
|
|
|
cd web && yarn build
|
2020-01-26 08:58:59 -03:00
|
|
|
|
2020-02-23 12:02:47 -03:00
|
|
|
init_web:
|
2023-03-07 12:55:13 -03:00
|
|
|
cd web && yarn install --ignore-optional
|
2020-01-26 08:58:59 -03:00
|
|
|
|
2019-07-13 07:10:41 -04:00
|
|
|
container:
|
|
|
|
docker build -t gempir/justlog .
|
2018-12-23 18:26:24 -03:00
|
|
|
|
2021-11-23 07:26:33 -03:00
|
|
|
run_container:
|
2021-11-23 08:40:31 -03:00
|
|
|
docker run -p 8025:8025 --restart=unless-stopped -v $(PWD)/config.json:/etc/justlog.json -v $(PWD)/logs:/logs gempir/justlog:latest
|
2021-11-23 07:26:33 -03:00
|
|
|
|
2020-12-01 18:52:42 -03:00
|
|
|
docs:
|
2020-12-02 17:50:10 -03:00
|
|
|
swagger generate spec -m -o ./web/public/swagger.json -w api
|
2020-12-01 18:52:42 -03:00
|
|
|
|