Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
KenG98 committed Apr 20, 2018
1 parent 9d4c6f5 commit 052a8a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ Distributed Social Network (yet to be named) is a MakeBU project.
* Front end (in browser)
* Database layer

## Running the project

* Have Go installed
* Navigate to the project repository
* Set your GOPATH variable to that directory. You can do this with `GOPATH=$(pwd)` on mac or linux. There's probably a way on Windows, too.
* Use `go build cli` to build the project
* Run the program with one of two commands - the "start" command if you're starting a new network, or the "join" command if you're joining a network. The arguments are self explanatory.
* ./cli start myIpAddr myPort myName
* ./cli join friendIpAddr friendPort myIpAddr myPort myName
* Now type and hit enter to send messages!

0 comments on commit 052a8a1

Please sign in to comment.