Skip to content

Commit

Permalink
Update readme and setup makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander James Wallar committed Sep 20, 2013
1 parent 233f097 commit 9ed499d
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 1,239 deletions.
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

clean:
clean:
rm -r bowtie/server/audio_data
rm -r bowtie/server/video_data
rm -r bowtie/server/json_data
Expand All @@ -9,9 +9,8 @@ setup:
mkdir bowtie/server/video_data
mkdir bowtie/server/json_data

setup_client_gopath:
export GOPATH=$(pwd)/bowtie/client/go

setup_gopath:
export GOPATH=$(pwd)/bowtie/server/
build:
go install bowtie

run:
cd bowtie/server; bowtie -addr=bowtie.mobi -port=80
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,24 @@ Bowtie implements a client-server model. To make deployment simple, the client
the smartphone to use a HTML5 compliant web browser to visit the web page
Bowtie is currently serving.

![Client Server](images/Simple Case.png)
![Client Server](images/BowtieModel.png)


## Requirements and Dependencies

- **[GO](http://golang.org/)** language

- Go's websocket library

## Usage

### Setup

export GOPATH=$(pwd)/bowtie/server/
export PATH=$PATH:$GOPATH/bin
go get code.google.com/p/go.net/websocket
go install bowtie

### Run

cd bowtie/server/
go run bowtie_server.go -addr=<HOST ADDRESS> -port=<PORT USED>
bowtie -addr=<Address to run on> -port=<Port to run on>
872 changes: 0 additions & 872 deletions images/Edit release · wallarelvo Bowtie.html

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion images/Edit release · wallarelvo Bowtie_files/api.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9ed499d

Please sign in to comment.