46 Star 120 Fork 44

Hifone / Hifone

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Hifone

StyleCI Build Status Software License

Screenshot

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
  • Register & Login via OAuth
  • Image upload
  • Avatars
  • Credits
  • Roles & Permissions
  • Notifications
  • Markdown & Emoj
  • Tags
  • Advertisements
  • RSS Feeds
  • Localization: language files, time zone and UTF-8 support
  • Pjax 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
chmod -R 777 public/uploads

If you have problems to open the Page, enter the Following:

php artisan vendor:publish

Step 2: Browser

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

Installing Hifone with Docker

$ git clone https://github.com/Hifone/Docker.git hifone-docker
$ cd hifone-docker
$ docker build -t hifone --rm .
$ docker run -it --rm -p 0.0.0.0:8081:80 hifone
$ /run.sh

Now go to http://127.0.0.1:8081 (linux) or http://192.168.99.100:8081 (mac) and have fun!

You can find more information at Install Hifone

Additional Settings

On the Admin Panel you can add some additional Settings

meta_author - Set Metadata for Authors
meta_keywords - Set Metadata for Keywords
footer_html - Write some HTML stuff for Footer
new_thread_dropdowns - With this, you can add some DropDown Items for the "New Thread" Button
site_about - This is for Adding a Subtitle for the Website

Upgrading

php artisan hifone:update

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!

Demo

Hifone website.

License

Hifone is open-sourced software licensed under the MIT license

The MIT License (MIT) Copyright (c) <Hifone.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Hifone是一个基于Laravel 5.2实现的轻量级社区程序,类似于v2ex, Ruby-china和phphub等 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/hifone/Hifone.git
git@gitee.com:hifone/Hifone.git
hifone
Hifone
Hifone
1.0

搜索帮助