Last active
July 17, 2019 14:35
-
-
Save mniewrzal/5ac64e71a14ae8ce4216c095a3985f73 to your computer and use it in GitHub Desktop.
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 | |
# set go modules to default behavior | |
export GO111MODULE=auto | |
# go knows where our gopath is | |
export GOPATH=~/storj | |
# gospace knows where our gopath is (this is to avoid accidental damage to existing GOPATH) | |
# you should not use default GOPATH here | |
export GOSPACE_ROOT=~/storj | |
# set the github repository that this GOSPACE manages | |
export GOSPACE_PKG=storj.io/storj | |
# set the where the repository is located | |
export GOSPACE_REPO=git@github.com:storj/storj.git | |
# needed only first time | |
gospace setup | |
cd $GOPATH | |
go get golang.org/x/mobile/bind | |
gomobile init | |
cd $GOPATH/src/storj.io/storj/mobile | |
mkdir $GOPATH/src/storj.io/storj/mobile/libuplink_android/app/libs/ | |
# set your local IP address | |
export STORJ_NETWORK_HOST4=<192.168.8.145> | |
./test-sim.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment