Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifenglsf/ci_demo
ci_demo
https://github.com/lifenglsf/ci_demo
Last synced: 2 days ago
JSON representation
ci_demo
- Host: GitHub
- URL: https://github.com/lifenglsf/ci_demo
- Owner: lifenglsf
- License: other
- Created: 2015-03-04T08:31:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-22T03:15:51.000Z (almost 7 years ago)
- Last Synced: 2023-02-27T01:16:53.962Z (over 1 year ago)
- Language: PHP
- Size: 4.28 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
安装说明
1.将代码上传到服务器
2.配置数据库
修改application/config/database.php
$db['default']['hostname'] = '127.0.0.1';//这个为数据库地址
$db['default']['username'] = 'root';//这个为数据库用户名
$db['default']['password'] = 'root';//这个为数据库密码
$db['default']['database'] = 'demoapk';//这个为数据库的数据库名称
$db['default']['dbprefix'] = '';//这个为表前缀,如果有前缀则填写,如表名称为test_user,则前缀为test_
修改以上几个地方内容为实际内容数据库sql文件为根目录下demoapk.sql,直接在数据库导入此文件就可以完成数据库的创建,表的创建
php需要开启curl,mysql扩展