基于 HapiJS + ReactJS 的前后端同构系统样板
# 安装 homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # 使用 brew 安装 wget brew install wget # 安装 MongoDB brew install mongodb # 安装 Redis brew install redis # 下载本样板代码 cd /path/to/your/workspace wget https://github.com/pantao/hapi-react-isomorphic-boilerplate/archive/master.zip -o YOUR_PROJECT_NAME.zip unzip YOUR_PROJECT_NAME.zip cd YOUR_PROJECT_NAME # 启动开发服务 ./start-develop.sh