-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shortcuts created for dependencies, docker-compose start, and standalone starts for the client and server. README updated accordingly.
- Loading branch information
Showing
2 changed files
with
39 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Installs project dependencies | ||
.PHONY: deps | ||
deps: | ||
go get github.com/codegangsta/gin | ||
(cd server ; go get -u github.com/golang/dep/cmd/dep ; dep ensure) | ||
(cd client ; npm install ) | ||
|
||
# Starts both the server and the client via docker-compose | ||
.PHONY: docker-start | ||
docker-start: | ||
docker-compose -f docker-compose.dev.yml up | ||
|
||
# Starts the client | ||
.PHONY: client | ||
client: | ||
(cd ./client ; npm start) | ||
|
||
# Starts the server | ||
.PHONY: server | ||
server: | ||
(cd ./server ; PORT=9090 ; go run main.go) |
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