From d68252388d125227c956f0ea130aac47ff343996 Mon Sep 17 00:00:00 2001 From: arnoldbird Date: Mon, 26 Dec 2016 21:25:50 -0500 Subject: [PATCH 1/5] change schema to source.sql --- manual.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/manual.md b/manual.md index 9298c80..04c0ad6 100644 --- a/manual.md +++ b/manual.md @@ -19,14 +19,14 @@ config](https://raw.githubusercontent.com/phanbook/opsfiles/master/templates/ngi ### Create MySQL database -Manually import your starter database from the sql in phanbook/schema: +Manually import your starter database from the source.sql in phanbook/schema: ``` cd /var/www/phanbook/schema mysql -u root -p mysql> create database mydatabase; mysql> use mydatabase; -mysql> source phanbook.sql; +mysql> source source.sql; ``` ### Configuration @@ -51,7 +51,7 @@ user all privileges on the database: ``` mysql -u root -p mysql> grant all privileges on mydatabase.* to myusername@localhost identified by -'password'; +'mypassword'; ``` Set permissions for directories and files: @@ -64,8 +64,11 @@ chmod 755 -R public ### Installing with Composer -We will use Composer to install Phanbook. [Get -composer](https://getcomposer.org/download/). +Get Composer... + +``` +apt-get install composer +``` Once you have Composer installed... From cd59a350dce1a1de75706a3b35a48db737729a00 Mon Sep 17 00:00:00 2001 From: arnoldbird Date: Mon, 26 Dec 2016 22:10:07 -0500 Subject: [PATCH 2/5] fix link --- manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual.md b/manual.md index 04c0ad6..62c23ed 100644 --- a/manual.md +++ b/manual.md @@ -3,7 +3,7 @@ Composer package manager (as detailed below) to complete the installation. ### System Requirements -See the [install instructions](install.md) for System Requirements. +See the [install instructions](install) for System Requirements. ### Get the Phanbook code From d3a44f9b11ffaa1ad2130e07e58aae90dacb4a61 Mon Sep 17 00:00:00 2001 From: arnoldbird Date: Mon, 26 Dec 2016 22:18:49 -0500 Subject: [PATCH 3/5] List phalcon last --- install.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.md b/install.md index 768c297..8dec7bf 100644 --- a/install.md +++ b/install.md @@ -15,10 +15,10 @@ There are a few things that you will need to have set up in order to run Phanbook: - A web server: Apache (with mod_rewrite) or Nginx. -- PHP 5.5+ with the following extensions: -[phalcon](https://docs.phalconphp.com/en/latest/reference/install.html), -mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo. To see which PHP -extensions you have enabled, look at the output of phpinfo(). +- PHP 5.5+ with the following extensions: +mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo and +[phalcon](https://docs.phalconphp.com/en/latest/reference/install.html). To see +which PHP extensions you have enabled, look at the output of phpinfo(). - Mysql or MariaDB. - SSH (command-line) access. From 3e20fb2f8900918768d2b6d8e0d8ca8cc21cb33c Mon Sep 17 00:00:00 2001 From: arnoldbird Date: Mon, 26 Dec 2016 23:42:16 -0500 Subject: [PATCH 4/5] Introduction should better reflect current state of development --- introduction.md | 64 +++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 39 deletions(-) diff --git a/introduction.md b/introduction.md index 2109bdd..9d1e21b 100644 --- a/introduction.md +++ b/introduction.md @@ -1,56 +1,45 @@ ## Welcome! -Welcome to Phanbook. Our mission is to give you an advanced tool for creating fast Questions and Answers websites and also creating blogs easily with PHP. +Phanbook is Q&A Forum software built on the Phalcon framework, so it's +lightning fast and developer-friendly. Contribute and track development at +[https://github.com/phanbook/phanbook](https://github.com/phanbook/phanbook) +Phanbook can also serve as a simple & extensible CMS and blogging platform. -### What is Phanbook +### Highlights -Phanbook is the next-generation Q&A software. It is an online discussion and question/answer site for professionals and enthusiasts. The name Phanbook means – Phan (Phalcon PHP) book (your notebook). +- **Fast, simple, extensible and modern.** -The aim of Phanbook is Q&A software, but you can use it to created Forum, Blogging, or CMS that are awesome. +- **Free and open source.** Phanbook is released under the [GNU General +license](https://github.com/phanbook/phanbook/blob/master/LICENSE.txt). +### Development Tasks -### Goals +Phanbook is pre-release software and code and documentation contributions are +always welcome. Here is an outline of some top priorities: -- **Fast and simple.** No clutter, no bloat, no complex dependencies. Phanbook is built with Phalcon PHP so it is quick and easy to deploy. +- Backend user administration. -- **Beautiful and responsive.** This is Q&A software for humans. Phanbook is carefully designed to be consistent and intuitive across platforms, out-of-the-box. +- Define user privileges. -- **Powerful and extensible.** Customize, extend, and integrate Phanbook to suit your community. Phanbook's architecture is amazingly flexible, prioritizing comprehensive APIs and great documentation. +- Single sign-on (Facebook, Google, GitHub, etc). -- **Easily deploy** With Docker and Vagrant you can easy deploy. You can use Docker to deploy to production and with Vagrant you can setupa development environment. +- Reputation system. Users accrue points by posting questions, giving correct +answers, etc. -- **Blogging** Create a beautiful, independent online publications. +- Grant users greater privileges based on points accrued. -- **Free and open.** Phanbook is released under the [GNU General license](https://github.com/phanbook/phanbook/blob/master/LICENSE.txt). +- Markdown. -### Features +- Post flagging/reporting and an intelligent auto-moderation system. -We want Phanbook to be the most powerful Q&A software out there, and we have a huge list of ideas that we want to implement. It will take more time, but Phanbook’s flexible plugin system will mean we can release early and often. Here is a snapshot of what we will be working on first: +- Powerful search with Elasticsearch. -- Multiple Themes +- Topic/Tag subscriptions and digest emails. -- Spam Blocking +- File attachments. -- Markdown and rich text editing support - -- Powerful search with Elasticsearch - -- Single sign-on (Facebook, Google, GitHub, et al.) - -- Topic/Tags subscriptions and digest emails - -- File attachments - -- Post flagging/reporting and an intelligent auto-moderation system - -- Rewards, badges, and gamification - -- Q&A format and voting - -- Simple CMS and Blogging plaform - -- The modular structure with a convenient hierarchy that is based on namespaces +- Simple CMS and Blogging plaform. ### Core Team @@ -63,8 +52,5 @@ __( in order of occurrence in the project )__ * Thien Tran [duythien](https://github.com/duythien) * Serghei Iakovlev [sergeyklay](https://github.com/sergeyklay) -Now that you're here, why not start contributing as well? :) Issues and pull requests are always welcome. - -### Note - -Phanbook is not only about performance; our goal is to make it robust, rich in features, and easy to use! +Now that you're here, why not start contributing as well? :) [Issues and pull +requests](https://github.com/phanbook/phanbook) are always welcome. From 29b368598e8c84fa00c3be9fe86595ebe1bdee86 Mon Sep 17 00:00:00 2001 From: arnoldbird Date: Mon, 26 Dec 2016 23:45:27 -0500 Subject: [PATCH 5/5] Edit introduction --- introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introduction.md b/introduction.md index 9d1e21b..fe311bb 100644 --- a/introduction.md +++ b/introduction.md @@ -16,7 +16,7 @@ license](https://github.com/phanbook/phanbook/blob/master/LICENSE.txt). ### Development Tasks Phanbook is pre-release software and code and documentation contributions are -always welcome. Here is an outline of some top priorities: +always welcome. Here are some top priorities: - Backend user administration.