本文主要介绍Codec2i PHP开源众筹系统、安装方法以及后台设置。 介绍 CODEC2I是国内首款类Kickstarter的开源众筹平台。采用 PHP+MYSQL 应用架构,基于MDS众筹框架开发,帮助用户轻松搭建专业的众筹网站。 安装方法 第一步,通过你服务器的管理平台来创建一个
本文主要介绍Codec2i PHP开源众筹系统、安装方法以及后台设置。
介绍
CODEC2I是国内首款类Kickstarter的开源众筹平台。采用 PHP+MYSQL 应用架构,基于MDS众筹框架开发,帮助用户轻松搭建专业的众筹网站。
安装方法
第一步,通过你服务器的管理平台来创建一个数据库,并通过PHPMyAdmin等来导入数据库文件initdata.sql。
如果你是在VPS或者独立服务器上安装,可以通过以下命令来运行数据库的创建与导入:
[root@lixiphp.com ~]# mysql -u root -p
输入root用户对应的密码
mysql> mysql> CREATE DATABASE `demo_zhongchou` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Query OK, 1 row affected (0.00 sec)
mysql> use demo_zhongchou
Database changed
mysql> source /home/www/zhongchou/initdata.sql
或者
[root@lixiphp.com ~]# cd /home/www/zhongchou
[root@lixiphp.com ~]# mysql -u root -p demo_zhongchou
完成导入数据库后,还需要进行配置。
第二步,打开includes/configuration/config.php文件,找到文件的第15行到18行,进行修改。
defined("DB_SERVER") ? null : define("DB_SERVER", "localhost");
defined("DB_USER") ? null : define("DB_USER", "root");
defined("DB_PASS") ? null : define("DB_PASS", "PASSWORD");
defined("DB_NAME") ? null : define("DB_NAME", "demo_zhongchou");
DB_SERVER 默认为本地主机,即为localhost。
DB_USER 数据库用户,从上面的实例中,我们可以输入root,这个请根据自己建立的数据库用户来填写。
DB_PASS 数据库用户对应的密码。
DB_NAME 数据库名字,就是上面中所提到的将initdata.sql导入的那个数据库名字。
第三步,将修改好的includes/configuration/config.php文件,通过FTP上传到服务器。
(...)
Read the rest of Codec2i – PHP开源众筹系统Kickstarter源码 (63 words)
© lixiphp for LixiPHP, 2013. | Permalink | No comment |
Add to del.icio.us
Post tags: crowdfunding, Kickstarter, PHP, PHP源码, 开源众筹
Feed enhanced by Better Feed from Ozh

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

WebStorm Mac version
Useful JavaScript development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool