2020-03-01 14:53:53 +01:00
|
|
|
full: web build
|
2020-02-23 16:02:47 +01:00
|
|
|
|
2020-04-11 19:29:35 +02:00
|
|
|
build: init_assets
|
2018-12-23 22:26:24 +01:00
|
|
|
go build
|
2018-12-01 17:46:24 +01:00
|
|
|
|
2020-02-11 18:48:38 +01:00
|
|
|
run: build
|
2020-01-26 18:30:45 +01:00
|
|
|
./justlog
|
|
|
|
|
|
|
|
run_web:
|
2020-01-31 23:05:56 +01:00
|
|
|
cd web && yarn start
|
2020-01-26 18:30:45 +01:00
|
|
|
|
2020-02-23 16:02:47 +01:00
|
|
|
web: init_web
|
2020-02-07 21:10:22 +01:00
|
|
|
cd web && yarn build
|
2020-01-26 12:58:59 +01:00
|
|
|
|
2020-02-23 16:02:47 +01:00
|
|
|
init_web:
|
2020-02-07 21:10:22 +01:00
|
|
|
cd web && yarn install
|
2020-01-26 12:58:59 +01:00
|
|
|
|
2020-02-23 16:02:47 +01:00
|
|
|
init_assets:
|
|
|
|
go run api/assets.go
|
|
|
|
|
2020-01-26 12:58:59 +01:00
|
|
|
# Docker stuff
|
2019-07-13 13:10:41 +02:00
|
|
|
container:
|
|
|
|
docker build -t gempir/justlog .
|
2018-12-23 22:26:24 +01:00
|
|
|
|
2019-07-13 13:10:41 +02:00
|
|
|
release:
|
|
|
|
docker push gempir/justlog
|
2018-12-01 17:46:24 +01:00
|
|
|
|