Install the Suki Project, and get it to work! 安装Suki项目,并使其工作 - flyingeggb/suki_project GitHub Wiki

Intro / 前言

This page only gives you a simple way to install the Suki Project, and let the basic functions to run. If you want to have more control on how you want to include this project, head to next page 'Advanced Include Settings'
这个页面只给您提供了一个此项目的简便安装方法,并且让基本的函数库运行起来。如果您想对安装的内容有更多的控制,请到下一页 ‘高级安装设置’

Server Requirements / 服务器配置要求

CPU:Any I don't care about this, as long as it's working / 随便,只要能工作即可
Memory:>=1GB Recommended / 建议1GB内存或以上
PHP Version:5.4 or higher
MySQL Support for SQL Suki / SQLSuki块需要MySQL支持
GD Library for Image Suki / ImageSuki块需要GD库支持

Before you include... / 加载项目之前...

  • First make sure you meet the Server Requirements!
    首先确保你的服务器达到了配置要求!

  • Then download the whole repository from GitHub
    然后将整个包从GitHub上下载下来

  • Put the whole repository into a folder that your script can access,here for example `library/suki_project/[filehere]`
    将整个包放在一个您的脚本能访问的位置,在这里我们假设您放在了这个位置 `library/suki_project/[filehere]`

  • Modify Files / 修改配置文件

    You have to modify the initialization.php file in order to make this thing work
    在使用之前,您必须先对initialization.php进行编辑

    Find the part called Core / 找到一个叫核心的区块
    Change the variable $GLOBALS['sukiproject_initialize']['core'] = array ()
    'path' is your current path for the project, in this example ,it should be '/libarary/suki_project/'
    修改这个变量 $GLOBALS['sukiproject_initialize']['core'] = array ()
    'path' 是Suki项目的所在文件夹,在这个例子中,您应该输入:'/libarary/suki_project/'
    Find the part called Security Suki/ 找到一个叫Security Suki的区块
    Change the variable $GLOBALS['sukiproject_initialize']['ps_secsuki']['core']
    'salt1' and 'salt2' are the salts for your security hash, DO NOT CHANGE THIS AFTER YOU DID A INSERT TO YOUR DATABASE!
    修改这个变量 $GLOBALS['sukiproject_initialize']['ps_secsuki']['core']
    'salt1' 和 'salt2' 是您的安全散列砂砾,您可以选择输入任何值,但是请不要在进行数据库写入之后修改这个变量!

    Start to Inlcude / 开始加载

    If you have already configured the files properly, you can just include it by type in `include 'path/initialization.php'`, if you didn't modify the file, check out the following
    如果你已经正确的设置了你的文件,你就可以直接打`include 'path/initialization.php'`进行加载了,如果没有,那么请继续阅读
    ⚠️ **GitHub.com Fallback** ⚠️