Merge remote-tracking branch 'refs/remotes/gh/dev' into dev
This commit is contained in:
commit
0bd1fc5397
5 changed files with 31 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ migrate:
|
|||
db.sqlite3:
|
||||
make migrate
|
||||
|
||||
dbdump:
|
||||
sqlite3 $(DB_FILE) .dump > database.txt
|
||||
|
||||
backup:
|
||||
mkdir -p backups
|
||||
sqlite3 $(DB_FILE) .dump | gzip -9 > ./backups/BACKUP_$(DB_FILE)_$(shell date +"%Y-%m-%d_%H:%M:%S").sql.gz
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ func main() {
|
|||
|
||||
server.Post("/api/loginrenew", gs.LoginRenew)
|
||||
server.Delete("/api/userdelete", gs.UserDelete) // Perhaps just use POST to avoid headaches
|
||||
server.Post("/api/project", gs.CreateProject)
|
||||
|
||||
// Announce the port we are listening on and start the server
|
||||
err = server.Listen(fmt.Sprintf(":%d", conf.Port))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue