Giter VIP home page Giter VIP logo

codeigniter3's Introduction

CodeIgniter3

CodeIgniter--PHP框架 博客功能具有以下功能

分类管理 文章管理 标签管理 评论管理 导航管理 Redis 缓存 好用的 Simplemde Markdown 编辑器 solo博客分类、文章都支持自定义URL 支持Metaweblog API,接口地址:http://example.com/xmlrpc ,可以方便的使用离线发布工具写博客,比如我就喜欢使用Mweb写博客,然后通过Metaweblog API发布。 更多功能欢迎大家自己挖掘,或者有好的意见和建议欢迎拍砖。

项目概述

项目名称:solo 项目运行地址:https://cong5.net/ solo 基于Laravel 5.4 版本开发。

目前运行环境

Nginx 1.8+ PHP 5.6+ MySQL 5.5+ Redis 3.0+ 部署/安装

需要在系统上安装了基本的PHP运行环境、PHP包管理工具composer、Nodejs进行前端资源打包

基础安装

  1. 克隆源代码

克隆源代码到本地:

git clone https://github.com/GitHubAsural/CodeIgniter3.git

  1. 安装扩展包依赖

composer install

  1. 生成配置文件

cp .env.example .env 然后在.env的配置文件里面新增如下配置项:

#七牛云储存 QINIU_ACCESSKEY= QINIU_SECRETKEY= QINIU_BUCKET= #百度翻译 BAIDU_TRANSLATE_AK= BAIDU_TRANSLATE_SK= #百度ping BAIDU_PING_SITE= BAIDU_PING_TOKEN= #错误信息推送到微信 SERVER_CHAN= 云服务AppKey和SecretKey申请地址: 七牛 百度翻译 百度ping Server酱

  1. 执行数据库迁移

php artisan migrate 6. 填充初始数据

php artisan db:seed 前端工具集安装

代码里自带编译后的前端代码,如果你不想开发前端样式的话,你是不需要配置前端工具集的,可本部分,看前后台入口部分 1). 安装 node.js

直接去官网 https://nodejs.org/en/ 下载安装最新版本。

2). 安装 Laravel Mix

npm install 如果嫌弃国内npm下载慢的话,可以使用淘宝NPM镜像:http://npm.taobao.org/

4). 直接 Mix 编译前端内容

开发环境使用:

npm run dev 生产环境请使用

npm run production 5). 监控修改并自动编译

npm run watch 前后台入口

如果要开启调试模式,请修改 .env 文件, APP_ENV=local 和 APP_DEBUG=true 。 首页地址:http://solo.com/ 管理后台:http://solo.com/myp 默认用户名:[email protected] 密码:solo

至此, 安装完成。

License

使用 solo 构建,或者基于 solo 源代码修改的站点 必须 在页脚加上 Powered by Mr.Solo 字样,并且必须链接到 https://github.com/GitHubAsural/CodeIgniter3.git 上。 在遵守以上规则的情况下,你可以享受等同于 MIT 协议的授权。

codeigniter3's People

Contributors

githubasural avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.