An SNS for Telegram Group
Example: Top Family
-
Build Phalcon on Phalcon. Note: Don't install from launchpad on Ubuntu, or you will install old version of Phalcon.
-
Run
git clone git@github.com:TopFamily/group.git
-
Enable Rewrite Module
-
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
-
Create Database and specify Collation
utf8mb4_unicode_ci
-
Run SQL Commands in /sql/cmd.sql
-
Run
git fetch && git merge origin/master master
-
Run New SQL Commands in /sql/cmd.sql to update database
- You can add analytics code in
/app/views/partials/stat_plugin.volt
as HTML code.