Skip to content

Commit fba876b

Browse files
author
Saso Matejina
committed
Update Makefile
1 parent 95e7a5d commit fba876b

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Diff for: Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.PHONY: up server dashboard build
22

33
up:
4+
docker-compose run server /bin/sh -c 'cd server/ && go run main.go --config ./configs/codeflow.dev.yml migrate up'
45
docker-compose up -d redis mongo
56
docker-compose up server dashboard
67

Diff for: README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,11 @@ Install [Docker Compose](https://docs.docker.com/compose/install/)
77

88
Copy `server/codeflow.yml` to `server/codeflow.dev.yml`
99

10-
You should set `jwt_secret_key` and `okta_org` before starting the server!
11-
```yaml
12-
codeflow:
13-
jwt_secret_key:
14-
allowed_origins:
15-
auth:
16-
okta_org:
17-
```
18-
1910
To start the server and all dependencies run:
2011
```
21-
$ make
12+
$ make up
2213
```
14+
Check `Makefile` to see what's happening under the hood.
2315

2416
Local dashboard will be started on [http://localhost:3000](http://localhost:3000)
2517

0 commit comments

Comments
 (0)