-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·45 lines (32 loc) · 954 Bytes
/
install.sh
File metadata and controls
executable file
·45 lines (32 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
GOPATH_ENV=$1
SOURCE_DIR=$2
export GOPATH=$GOPATH_ENV
# create symlink of project into GOPATH
FEEDLABS_PACKAGE_DIR=$GOPATH/src/github.com/feedlabs
FEEDLABS_FEEDIFY_PATH=$FEEDLABS_PACKAGE_DIR/feedify
FEEDLABS_API_PATH=$FEEDLABS_PACKAGE_DIR/api
if [ ! -e $FEEDLABS_FEEDIFY_PATH ]; then
mkdir -p $FEEDLABS_PACKAGE_DIR
ln -s $SOURCE_DIR/../feedify $FEEDLABS_FEEDIFY_PATH
fi
if [ ! -e $FEEDLABS_API_PATH ]; then
mkdir -p $FEEDLABS_PACKAGE_DIR
ln -s $SOURCE_DIR $FEEDLABS_API_PATH
fi
# install dependencies
# go get github.com/bitly/go-nsq
# redis client
go get github.com/fzzy/radix/redis
# logger
go get github.com/barakmich/glog
# neo4j graph database client
go get github.com/jmcvetta/neoism
# javascript interpreter: scenario-engine ?
go get github.com/robertkrimen/otto
# memcache
go get github.com/bradfitz/gomemcache/memcache
# websoscket
go get github.com/gorilla/websocket
# sseserver
go get github.com/mroth/sseserver