Skip to content

TopFamily/group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Group

An SNS for Telegram Group

Example: Top Family

Installation

  1. Build Phalcon on Phalcon. Note: Don't install from launchpad on Ubuntu, or you will install old version of Phalcon.

  2. Run git clone git@github.com:TopFamily/group.git

  3. Enable Rewrite Module

  4. Edit /app/config/config.ini Example:

     [database]
     adapter  = Mysql
     host     = localhost
     username = 2333
     password = 233333333333
     name     = 233
    
     [application]
     controllersDir = app/controllers/
     modelsDir      = app/models/
     viewsDir       = app/views/
     pluginsDir     = app/plugins/
     formsDir       = app/forms/
     libraryDir     = app/library/
     baseUri        = /topfamily/
    
     [session]
     prefix = group
    
     [crypt]
     key = 23333333333333333333
    
  5. Create Database and specify Collation utf8mb4_unicode_ci

  6. Run SQL Commands in /sql/cmd.sql

Update

  1. Run git fetch && git merge origin/master master

  2. Run New SQL Commands in /sql/cmd.sql to update database

Customize

  • You can add analytics code in /app/views/partials/stat_plugin.volt as HTML code.