Browse Source

中文说明

pull/27/head
mercurylmy 11 years ago
parent
commit
1d5231952e
1 changed files with 13 additions and 23 deletions
  1. +13
    -23
      README.md

+ 13
- 23
README.md View File

@ -1,32 +1,22 @@
phpSQLiteCMS
phpSQLiteCMS
============
<a href="http://phpsqlitecms.net/">phpSQLiteCMS</a> is a simple and lightweight open source web content management system (CMS) based on <a href="http://php.net/">PHP</a> and <a href="http://www.sqlite.org/">SQLite</a>. As SQLite is file-based, it just runs "out of the box" without installation.
<a href="http://phpsqlitecms.net/">phpSQLiteCMS</a> 是一个轻量的开源CMS系统,基于 <a href="http://php.net/">PHP</a> <a href="http://www.sqlite.org/">SQLite</a>. 得益于SQLite是基于文件的,它能够“开箱即用”,无需繁琐的安装步骤。
System requirements
系统需求
-------------------
* Apache webserver with <a href="http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a> and <a href="http://httpd.apache.org/docs/2.4/howto/htaccess.html">.htaccess file support</a> enabled
* PHP 5 with <a href="http://php.net/manual/en/book.pdo.php">PDO</a> and <a href="http://php.net/manual/en/ref.pdo-sqlite.php">SQLite driver</a> enabled
* Apache 服务器并开启 <a href="http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a> <a href="http://httpd.apache.org/docs/2.4/howto/htaccess.html">.htaccess file support</a> 支持。
* PHP 5 并开启 <a href="http://php.net/manual/en/book.pdo.php">PDO</a> <a href="http://php.net/manual/en/ref.pdo-sqlite.php">SQLite driver</a> 支持。
Installation
安装
------------
1. Load up the script files to your server
2. Depending on your server configuration you may need to change the write permissions of the following files/directories:
* **cms/data** - directory of the SQLite database files, needs to be writable by the webserver
* **content.sqlite**, **entries.sqlite** and **userdata.sqlite** - SQLite database files, need to be writable by the webserver
* **cms/cache** - cache directory, needs to be writable if you want to use the caching feature
* **cms/media** and **cms/files** - need to be writable if you want to use the file uploader
3. Ready! You should now be able to access the index page by browsing to the address you uploaded phpSQLiteCMS (e.g. http://example.org/path/to/phpsqlitecms/). To administrate the page, go to http://example.org/path/to/phpsqlitecms/cms/. The default admin userdata is: username: admin, password: admin.
1. 上传所有文件到服务器。
2. 根据您的服务器配置,您可能需要更改下列文件和目录的写权限:
* **cms/data** - SQLite 数据库目录
* **content.sqlite**, **entries.sqlite** and **userdata.sqlite** - SQLite 数据库文件
* **cms/cache** - 缓存目录,如果你要使用缓存功能
* **cms/media** and **cms/files** - 上传目录
3. 就这么简单,完成了!用浏览器访问您的网站(例如 http://example.org/path/to/phpsqlitecms/)。 后台地址是/cms (例如 http://example.org/path/to/phpsqlitecms/cms/)。 默认管理员账户是: admin, 密码: admin,强烈建议您修改密码。
phpSQLiteCMS example sites
--------------------------
* <a href="http://phpsqlitecms.net/">phpSQLiteCMS</a> - project website
* <a href="http://mylittleforum.net/">my little forum</a> - another project of the author of *phpSQLiteCMS*
* <a href="http://procosara.org/">Pro Cosara</a> - an association dedicated to the conservation of Atlantic Forest in Paraguay
* <a href="http://www.eschenhof-online.de/">Eschenhof</a> - biodynamic farm near Kassel, Germany / Biologisch-dynamische Landwirtschaft bei Kassel
* <a href="http://praxis-kunstleben.de/">Praxis Kunstleben</a> - psychologische Praxis (Einzeltherapie, Paartherapie, Coaching, Familienberatung, Supervision) in Freiburg
* <a href="http://www.elbi-bs.com/">ELBI</a> - manufacturing of individual furniture and more in Burgas, Bulgaria
* <a href="http://phpsqlitecms.cu.cc/">phpSQLiteCMS Spanish</a> - Spanish phpSQLiteCMS demo and documentation site / página de documentación y demonstración española

Loading…
Cancel
Save