link on JianShu
Node环境 + 依赖 rethinkdb graphicsmagick zeromq protobuf yasm pkg-config
rethinkdb windows/
# go to the directory that you unpacked rethinkdb.exe in
rethinkdb.exe -d c:\RethinkDB\data\
graphicsmagick 正常安装完成,可执行gm命令即可。系统安装后会自动添加环境变量 c:\program files\graphicsmagick-1.3.33-q16
link on JianShu
Mac环境部署告一段落,同事多次建议为什么不用yarn。STF本身也包含了yarn.lock文件。简单学习一下yarn
的相关内容。
Yarn is a package manager for your code. Code is shared through something called a package (sometimes referred to as a module). A package contains all the code being shared as well as a package.json
file which describes the package.
link on JianShu
yarn的确会快得飞起。 STF之Yarn一中简单使用后,从头开始使用yarn安装STF。
link on JianShu
STF consists of multiple independent processes communicating via ZeroMQ and Protocol Buffers.
使用ZeroMQ进行zmq socket通信,使用Protocol Buffers定义通信内容。
link on JianShu
brew 本地安装
只使用provider服务的话,可以不安装rethinkdb(恰好这是最大的一个文件)。brew install graphicsmagick zeromq protobuf yasm pkg-conf