22 Star 46 Fork 8

jiyis / register

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.26 KB
一键复制 编辑 原始数据 按行查看 历史
Gary P Dong 提交于 2016-07-21 15:02 . 修正提示文字错误的bug

Laravel PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

Official Documentation

Documentation for the framework can be found on the Laravel website.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.


安装步骤

  • sudo npm install -g gulp #全局安装npm
  • sudo npm install -g bower #全局安装bower
  • cd register
  • sudo npm install gulp #在项目本地安装gulp
  • sudo npm install bower #在项目本地安装bower
  • sudp npm install #安装项目Node依赖、Laravel Elixir

在项目根目录新增文件.bowerrc

{
    "directory": "vendor/bower_dl"
}

执行命令 bower init创建文件bower.json

如果是linux 后面加上 --allow-root windows不需要

  • sudo bower install admin-lte --allow-root

  • sudo bower install fontawesome --allow-root

  • sudo bower install ionicons --allow-root

  • sudo bower install https://github.com/smalot/bootstrap-datetimepicker.git --allow-root

  • sudo bower install DataTables --allow-root

  • sudo bower install sweetalert --allow-root

  • sudo bower install dropzone --allow-root

  • sudo bower install toastr --allow-root

  • sudo bower install fileupload --allow-root

  • sudo bower install fancybox --allow-root

  • npm install --save-dev gulp-import-css

  • npm install gulp-cssimport

  • npm install gulp-rename

  • gulp copyfiles

  • gulp

  • php artisan key:generate

  • entrust缓存不支持file和database,所以需要在.env 中把CACHE_DRIVER=file 改为 CACHE_DRIVER=array 。然后增加DB_PREFIX=jiyi_ ,把resource/sql 目录下 sql导入即可。

  • 火狐中datetmepick的插件会报错,但是其他的插件没有时间选项,解决方法把js文件中this.defaultTimeZone=(new Date()).toString().split("(")[1].slice(0,-1);改为this.defaultTimeZone='GMT '+(new Date()).getTimezoneOffset()/60

PHP
1
https://gitee.com/GarySource/register.git
git@gitee.com:GarySource/register.git
GarySource
register
register
master

搜索帮助