Browse Source

update install docs

pull/67/head
Jae Kwon 10 years ago
parent
commit
f12fcfe04a
4 changed files with 4 additions and 40 deletions
  1. +3
    -18
      INSTALL/README.md
  2. +0
    -1
      INSTALL/install_env.sh
  3. +1
    -2
      INSTALL/install_golang.sh
  4. +0
    -19
      INSTALL/update_tendermint.sh

+ 3
- 18
INSTALL/README.md View File

@ -46,23 +46,8 @@ Don't use `apt-get install golang`, it's still on an old version.
### Install/Update Tendermint
#!/bin/bash
# Run this as tmuser user
# This part is for installing Tendermint
if [ `whoami` != "root" ];
then
cd
source /home/tmuser/.bashrc
rm -rf $GOPATH/src/github.com/tendermint/tendermint
go get github.com/tendermint/tendermint
go install github.com/tendermint/tendermint/cmd/tendermint # install
go get -u github.com/tendermint/tendermint/cmd/tendermint # update
cd $GOPATH/src/github.com/tendermint/tendermint
git checkout develop
git pull
make
else
echo "should not be root to run update_tendermint.sh"
fi
Finally, head back to [Developer Quick Start](https://github.com/tendermint/tendermint/wiki/Developer-Quick-Start) to compile and run Tendermint.
Check out the [Developer Quick Start](https://github.com/tendermint/tendermint/wiki/Developer-Quick-Start) to learn more.

+ 0
- 1
INSTALL/install_env.sh View File

@ -8,4 +8,3 @@ useradd tmuser -d /home/tmuser
usermod -aG sudo tmuser
mkdir /home/tmuser
chown -R tmuser /home/tmuser
su tmuser

+ 1
- 2
INSTALL/install_golang.sh View File

@ -15,8 +15,7 @@ then
mkdir -p /home/tmuser/go/src
echo 'export GOROOT=/home/tmuser/go' >> /home/tmuser/.bashrc
echo 'export GOPATH=/home/tmuser/gocode' >> /home/tmuser/.bashrc
echo 'export PATH=$PATH:$GOROOT/bin' >> /home/tmuser/.bashrc
source /home/tmuser/.bashrc
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> /home/tmuser/.bashrc
else
echo "should not be root to run install_golang.sh"
fi

+ 0
- 19
INSTALL/update_tendermint.sh View File

@ -1,19 +0,0 @@
#!/bin/bash
# Run this as tmuser user
# This part is for installing Tendermint
if [ `whoami` != "root" ];
then
cd
source /home/tmuser/.bashrc
rm -rf $GOPATH/src/github.com/tendermint/tendermint
go get github.com/tendermint/tendermint
cd $GOPATH/src/github.com/tendermint/tendermint
git checkout develop
git pull
make
else
echo "should not be root to run update_tendermint.sh"
fi

Loading…
Cancel
Save