flaviodb一个基于Riak Core的固定消息流存储示例
步骤说明
- 克隆 riak_core 模板并安装:
git clone https://github.com/basho/rebar_riak_core.git
cd rebar_riak_core
make install
- 创建项目模板:
mkdir flaviodb
cd flaviodb
- 下载并设置 rebar 可执行权限:
wget http://cloud.github.com/downloads/basho/rebar && chmod u+x rebar
- 基于 riak_core 模板创建项目,设置 app id 为 flavio:
./rebar create template=riak_core appid=flavio
- 更新 riak_core 版本为 2:
# 进行版本更新操作
git clone https://github.com/basho/rebar_riak_core.git
cd rebar_riak_core
make install
mkdir flaviodb
cd flaviodb
wget http://cloud.github.com/downloads/basho/rebar && chmod u+x rebar
./rebar create template=riak_core appid=flavio
# 进行版本更新操作
下载地址
用户评论