码云推荐 | 基于 Laravel 的报名系统 register

   2017-01-06 0
核心提示:Laravel PHP FrameworkLaravel 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 ea

Laravel PHP Framework

码云推荐 | 基于 Laravel 的报名系统 register

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

 
标签: Laravel Linux命令
反对 0举报 0 评论 0
 

免责声明:本文仅代表作者个人观点,与乐学笔记(本网)无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
    本网站有部分内容均转载自其它媒体,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责,若因作品内容、知识产权、版权和其他问题,请及时提供相关证明等材料并与我们留言联系,本网站将在规定时间内给予删除等相关处理.

  • Laravel的Nginx重写规则完整代码
    aravel基本重写规则location / {indexindex.html index.htm index.php;try_files $uri $uri/ /index.php?$query_string ;}去除末尾的斜杠,SEO更加友好if (!-d $request_filename){rewrite ^/(.+)/$ /$1 permanent;}去除index actionif ($request_uri ~* index
    02-10
  • nginx服务器下laravel项目无法访问
    后台用的nginx服务器,之前在本地开发项目时用的apache服务器,没想到切换到线***问时除了首页一直显示404的错误,网页无法访问,网上搜索发现是nginx的配置问题。打开nginx的配置文件,做如下修改即可:location / {try_files $uri $uri/ /index.php?$query_
    02-10
  • Debian8 部署 laravel 5.3 (php7.0 + nginx)
    Debian8 部署 laravel 5.3 (php7.0 + nginx)
    web根目录:/var/www/html更换 apt-get 源cd /etc/apt/sources.listdeb http://ftp.debian.org/debian jessie main contrib non-freedeb http://ftp.debian.org/debian jessie-updates main contrib non-freedeb http://security.debian.org jessie/updates m
    02-07
  • 使用 Supervisor 管理 Laravel 队列进程
    Supervisor 是一个 Python 写的进程管理工具,有时一个进程需要在后台运行,挂掉后能够自动重启,那么就需要这么一个监控进程的工具。在 Laravel 开发中,也经常使用到队列监听,配合 Supervisor 来管理 Laravel 队列进程是一个很好的方式。Supervisor的安装1
  • [ Laravel 5.3 文档 ] 综合话题 —— 队列
    1、介绍Laravel队列为不同的后台队列服务提供统一的API,例如Beanstalk,Amazon SQS,Redis,甚至其他基于关系型数据库的队列。队列的目的是将耗时的任务延时处理,比如发送邮件,从而大幅度缩短Web请求和相应的时间。队列配置文件存放在config/queue.php。每
点击排行