mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-03-17 21:32:55 +01:00
deploy to heroku.
This commit is contained in:
parent
6ed83d6bc3
commit
3132195275
4
Makefile
4
Makefile
@ -1,5 +1,5 @@
|
||||
relay-lite: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -o ./relay-lite
|
||||
go build -ldflags="-s -w" -tags lite -o ./relay-lite
|
||||
|
||||
relay-full: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -tags full -o ./relay-full
|
||||
go build -ldflags="-s -w" -o ./relay-full
|
||||
|
2
main.go
2
main.go
@ -16,7 +16,7 @@ type Settings struct {
|
||||
Host string `envconfig:"HOST" default:"0.0.0.0"`
|
||||
Port string `envconfig:"PORT" default:"7447"`
|
||||
|
||||
PostgresDatabase string `envconfig:"POSTGRESQL_DATABASE"`
|
||||
PostgresDatabase string `envconfig:"DATABASE_URL"`
|
||||
SQLiteDatabase string `envconfig:"SQLITE_DATABASE"`
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build full
|
||||
// +build -lite
|
||||
|
||||
package main
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user