Last active
June 4, 2018 07:46
-
-
Save Chubby-Chocobo/23b1c137c8dfbcaa0a438251a3b1a6f3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install gcc gcc-c++ texinfo | |
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
sudo yum -y install epel-release | |
sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm | |
sudo yum -y update | |
sudo yum install -y python36u python36u-libs python36u-devel python36u-pip | |
sudo yum install -y readline-devel leveldb-devel libffi-devel gcc-c++ redhat-rpm-config gcc python-devel openssl-devel | |
sudo yum -y install wget | |
sudo yum -y install screen | |
if [ -e neo-python ] | |
then | |
echo "The neo-python folder is existed." | |
else | |
git clone https://github.com/CityOfZion/neo-python.git | |
fi | |
cd neo-python | |
mkdir -p .log | |
git checkout master | |
python3.6 -m venv venv | |
source venv/bin/activate | |
pip install -U setuptools wheel | |
pip install -U pip | |
pip install pip==9.0.3 | |
pip install -r requirements.txt | |
pip install -e . | |
#np-bootstrap -m | |
#screen -S neo-python -dm np-api-server --mainnet --logfile .log/neo.log --port-rpc 10332 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment