/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
开发部署目前使用的 v8.11.x
nvm install < Latest LTS version >
额,apt-get install 要root权限?
apt-get install tmux
tmux使用:http://louiszhai.github.io/2017/09/30/tmux/#%E5%AE%89%E8%A3%85
// mac上用 brew安装
apt-get -y install redis-server
git clone https://github.com/AElfProject/aelf-web-wallet.git
npm install -g webpack
npm install -g webpack-cli
webpack
npm start
默认 7001端口 这里需要写一个脚本,包含webpack编译和egg服务启动。