Giter Site home page Giter Site logo

final_handymap's Introduction

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.

fix bug

1)install

You have to install wampserver https://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.5/wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe/download and follow the step in this website: http://www.darwinbiler.com/how-to-install-laravel-on-wamp-for-beginners/

2) GitHub

Download github desktop Add the project : https://github.com/GreenCame/handymap My wamp is there: C:\wamp I put the project in C:\wamp\frameworks\laravel\handymap so if you change, change the path for next step.

3) Make Database

go to localhost/phpmyadmin/

create a New-Database "softwareproject" (the name is very Important) database in UTF-8 generaly change a root password and put "root" password, in settings phpmyadmin

configuration

in the file C:\wamp\apps\phpmyadmin4.1.14\config.inc.php change that:

    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'root';

Open cmd in Admin

command: cd C:\wamp\frameworks\laravel\handymap then php artisan migrate --seed

So by default there lot of fake data in database and also an admin with login:[email protected] and password:Password and also an User with login:[email protected] and password:Password

4) Hosts file

in C:\Windows\System32\drivers\etc change the hosts file add in the end the line :

    127.0.0.1       laravel.dev

5) httpd.conf

add in the end of the file "C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf"

    <VirtualHost laravel.dev:80>
      DocumentRoot C:\wamp\frameworks\laravel\handymap\public
      <Directory "C:\wamp\frameworks\laravel\handymap\public">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
      </Directory>
    </VirtualHost>

Remove the # in line: "LoadModule rewrite_module modules/mod_rewrite.so" (line 154 for me)

6) Alias (maybe optionnal if you use laravel.dev)

add the file "handymap.conf" in "C:\wamp\alias" :

    Alias /handymap "C:/wamp/frameworks/laravel/handymap/public"
    <Directory "C:/wamp/frameworks/laravel/handymap/public">
    DirectoryIndex index.php
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order allow,deny
        allow from all
        Require all granted
    </Directory>

7) Restart you computer (important)

Go to laravel.dev, it should work

8) Facebook connection fix

Follow this link: http://curl.haxx.se/ca/cacert.pem Copy the entire page and save it in a: "cacert.pem" (in PHP\extras\ssl folder) Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem" In config/session.php change the line: 'domain' => 'laravel.dev', Restart service

final_handymap's People

Contributors

julien-mustiere avatar kazkyu avatar chunguyenkhuong avatar

Watchers

 avatar  avatar  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.