adjust the museum and museum-nginx scripts
This commit is contained in:
@ -14,7 +14,7 @@ cd $LOCAL_REPO/server
|
||||
# sed command to replace `server.Run(":8080")` with `server.Run(":$PORT")`
|
||||
sed -i "s/server.Run(\":8080\")/server.Run(\":$PORT\")/g" cmd/museum/main.go
|
||||
|
||||
go build -o museum cmd/museum/main.go
|
||||
/usr/local/go/bin/go build -o museum cmd/museum/main.go
|
||||
|
||||
sudo cp museum $INSTALL_DIR
|
||||
|
||||
|
Reference in New Issue
Block a user