From c0ede78fe255a165877edef8f459543fd4f795c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 4 Sep 2019 10:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LocalReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/LocalReadMe.md b/LocalReadMe.md index eada4162b..182e8bca1 100644 --- a/LocalReadMe.md +++ b/LocalReadMe.md @@ -7,6 +7,7 @@ 4. 导入基础数据: source /Users/jingquanhuang/eduplus2/db/init.sql 4. 初始化种子数据 bundle exec rake db:seed 5、启动服务用 bundle exec rails s + 5.1、bundle exec rake db:migrate 出现db:migrate 错误 6、设置配置文件数据:/edu_settins: 配置: origin_database(原始数据库,及有数据的数据库)database(需要导入的数据库,及database.yml中的数据库) 7、调用接口: url: /api/initialization_data.json?paths=123,124,125