Last active
November 3, 2016 23:01
-
-
Save scriptnull/d0903cdcb91ad6723d7d207d59907bd7 to your computer and use it in GitHub Desktop.
Use this to bring up friendd application
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
#!/bin/bash -e | |
BASE_DIR="$HOME/friendd" | |
GO_WORKSPACE_NAME="go-workspace" | |
GO_WORKSPACE_PATH="$BASE_DIR/$GO_WORKSPACE_NAME" | |
GO_SRC_PATH="$GO_WORKSPACE_PATH/src/github.com/friendd" | |
GO_PKG_PATH="$GO_WORKSPACE_PATH/pkg" | |
GO_BIN_PATH="$GO_WORKSPACE_PATH/bin" | |
mkdir $BASE_DIR | |
echo "cloning bus-stop" | |
git clone git@github.com:friendd/bus-stop.git $BASE_DIR/bus-stop | |
echo "creating golang workspace" | |
mkdir -p $GO_SRC_PATH | |
mkdir -p $GO_PKG_PATH | |
mkdir -p $GO_BIN_PATH | |
echo "done creating golang workspace" | |
echo "cloning www microserivce" | |
git clone git@github.com:friendd/www.git $GO_SRC_PATH/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment