Giter Club home page Giter Club logo

laravel-learn's Introduction

laravel-learn

学习laravel对表单进行增删改查操作,版本为laravel5.2。视频来源于慕课网[http://www.imooc.com/learn/699]

配置说明

1 数据库配置

host :localhost port :3306 usernmae : root password: ''

2 站点配置

本人在windows下,使用的是Apache,hosts文件下(C:\Windows\System32\drivers\etc\hosts)加入站点设置:127.0.0.1 www.laravel.com
在Apache的httpd-vhosts.conf中(.\apache\conf\extra)中的配置如下:

##www.laravel.com
<VirtualHost *:80>
DocumentRoot "C:/www/laravel/public"
ServerName www.laravel.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common

3 代码使用说明

按照1,2步骤配置好后,将代码放到www目录下的新建laravel文件夹中,开启apache,在浏览器中输入http://www.laravel.com/student/index 即可。在这里,需要注意的是,若直接放入www目录下,则在步骤2中, DocumentRoot "C:/www/laravel/public"直接改为"www所在的盘:/www/public"即可

如有什么疑问,可以留言说明。

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.