Skip to content

Commit 6552488

Browse files
committed
moved backend application to src directory
1 parent e204d0f commit 6552488

File tree

13 files changed

+9
-8
lines changed

13 files changed

+9
-8
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
#
33

44
build:
5-
go build -o $(HOME)/factorio-server/factorio-server-manager
5+
go build -o $(HOME)/factorio-server/factorio-server-manager src/*
66
cp -r app/ $(HOME)/factorio-server/
7+
cp conf.json.example $(HOME)/factorio-server/conf.json

conf.json.example

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"factorio_dir": "/home/mitch/.factorio",
3-
"username": "name",
4-
"password": "$111",
2+
"username": "admin",
3+
"password": "factorio",
54
"database_file": "auth.leveldb"
65
}

auth.go renamed to src/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (auth *AuthHTTP) listUsers() ([]User, error) {
8080
userResponse = append(userResponse, u)
8181
}
8282

83-
log.Printf("listing users: %+v", users)
83+
log.Printf("listing users: %v found", len(users))
8484
return userResponse, nil
8585
}
8686

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)