Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename pechtold to cupido, rename juncker to kantklosser.
- Loading branch information
1 parent
7aa7602
commit 308ecf1
Showing
23 changed files
with
46 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
|
||
/storage/testdata/* | ||
/juncker/testfile.pdf | ||
|
||
/pechtold/pechtold | ||
/juncker/juncker | ||
/stresser/stresser | ||
/kantklosser/testfile.pdf | ||
|
||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
|
||
.PHONY: build | ||
build: build-pechtold | ||
build: build-cupido build-kantklosser | ||
|
||
|
||
.PHONY: build-pechtold | ||
build-pechtold: | ||
go build -o dist/bin/pechtold github.com/GeenPeil/teken/pechtold | ||
.PHONY: build-cupido | ||
build-cupido: | ||
go build -o dist/bin/cupido github.com/GeenPeil/teken/cupido/cmd/cupido | ||
|
||
.PHONY: build-kantklosser | ||
build-kantklosser: | ||
go build -o dist/bin/kantklosser github.com/GeenPeil/teken/kantklosser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package server | ||
package cupido | ||
|
||
import "net/http" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package server | ||
package cupido | ||
|
||
//go:generate ffjson -nodecoder $GOFILE | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
pechtold/server/outputtypes_ffjson.go → cupido/outputtypes_ffjson.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package server | ||
package cupido | ||
|
||
import ( | ||
"encoding/json" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package server | ||
package cupido | ||
|
||
import ( | ||
"math/rand" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
|
||
CREATE ROLE pechtold PASSWORD 'md55279b99979be20e5f546f4ba96239112' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN; | ||
CREATE ROLE cupido PASSWORD 'md55279b99979be20e5f546f4ba96239112' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN; | ||
|
||
GRANT CONNECT ON DATABASE geenpeil TO pechtold; | ||
GRANT CONNECT ON DATABASE geenpeil TO cupido; | ||
|
||
GRANT SELECT, INSERT ON ALL TABLES IN SCHEMA public TO pechtold; | ||
GRANT SELECT, INSERT ON ALL TABLES IN SCHEMA public TO cupido; | ||
|
||
GRANT USAGE ON ALL SEQUENCES IN SCHEMA public TO pechtold; | ||
GRANT USAGE ON ALL SEQUENCES IN SCHEMA public TO cupido; | ||
|
||
# for testing: edit pg_hba.conf to allow md5 auth for local unix socket connections | ||
|
||
# for prod: run pechtold as user pechtold (system user) | ||
# for prod: run cupido as user cupido (system user) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters