rainux / konata-sample

Sample code for my blog post `"Pinterest" with Qiniu and Rails in 15 minutes`

Home Page:https://lolita.technology/2016/02/27/pinterest-with-qiniu-and-rails-in-15-minutes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample code for "Pinterest" with Qiniu and Rails in 15 minutes

这份示例代码源自我的 blog 文章/视频教程 "Pinterest" with Qiniu and Rails in 15 minutes。比起直接试用它,你应该按照教程自己编写这些代码,亲自编写代码有助于加深理解和记忆。

试用方法

  1. 安装 Ruby 2.2 以上版本
  2. 执行 bin/setup 安装依赖及创建数据库。
  3. 编辑 config/secrets.yml,填写七牛云账户的 Access Key 和 Secret Key。这对密钥可以在七牛云开发者平台的 密钥管理页面 查询到。
  4. 七牛云开发者平台 创建一个名为 konata 的空间。
  5. 执行 rails server,使用浏览器访问 http://localhost:3000 试用。

About

Sample code for my blog post `"Pinterest" with Qiniu and Rails in 15 minutes`

https://lolita.technology/2016/02/27/pinterest-with-qiniu-and-rails-in-15-minutes/


Languages

Language:Ruby 80.0%Language:HTML 14.3%Language:CSS 3.8%Language:JavaScript 1.1%Language:CoffeeScript 0.7%