## i-w / HifoneMIT

forked from / Hifone
Explore and code with more than 2 million developers，Free private repositories ！：）
Notice: Creating folder will generate an empty file .keep, because not support in Git

## Hifone

Hifone is a free, open-source, self-hosted forum software based on the Laravel PHP Framework.

## Features

This package is currently in (very-)alpha stage, so all of the following features may or may not work yet. However, feel free to post issues and features requests here . We will try to fix and improve the package as fast as we can based on your help!

• Fast and simple
• Beautiful and responsive
• Roles & Permissions
• Markdown & Emoj
• Avatars
• Localization: language files, time zone and UTF-8 support

## Requirements

There are a few things that you will need to have set up in order to run Gitamin:

• A web server: Nginx, Apache (with mod_rewrite), or Lighttpd
• PHP 5.6.4+ with the following extensions: mbstring, pdo_mysql
• MySQL or PostgreSQL
• Composer

## Installation

By default Hifone comes with a .env.example file. You'll need to rename this file to just .env regardless of what environment you're working on.

If you're using SQLite then your .env file should not contain a DB_HOST key. You'll also need to touch ./database/hifone.sqlite and give it the required permissions.

Directories within the storage and the bootstrap/cache directories should be writable by your web server or Hifone will not run.

### Step 1: Shell

git clone https://github.com/Hifone/Hifone
cd Hifone

cp .env.example .env
vi .env  # write database settings

composer install --no-dev -o

php artisan hifone:install

chmod -R 777 storage
chmod -R 777 bootstrap/cache

### Step 2: Browser

Now go to http://your_site_domain/ and have fun!

## Development

These extra dependencies are required to develop Hifone:

• Node.js
• Bower
• Gulp
npm install
bower install
gulp

If you're making a lot of changes, you'll find that running gulp watch will really help you out!