포럼

github : https://github.com/CodepadME/laravel-tricks

 

1. github에서 소스 다운로드

git clone https://github.com/CodepadME/laravel-tricks

2. 설치안내에 따라 설치

Requirements

The Laravel-Tricks website requires a server with PHP 5.4+ that has the MCrypt extension installed.

The database engine that is used to store data for this application could be any of the engines supported by Laravel: MySQL, Postgres, SQLite and SQL Server.

Quick Start and Installation

To get started and start making something of your own using this repository as a base: download this repository, create an empty database that this application will use, configure a few settings in the app/config folder and enjoy!

Configuration

  • Open up app/config/database.php and configure connection settings for your database.
  • Configure hostname in bootstrap/start.php file to match your machine's hostname:

    $env = $app->detectEnvironment(array(
    
        'local' => array('your-machine-name'), // Edit this line
    
    ));
    
  • If you want to use Github OAuth for login and registration, make sure to create a Github application first and provide its client ID and client secret to the config in app/config/social.php. Also make sure you're using http://<your-site.com>/login/github for Authorization callback URL

After this simple configuration you can populate the database by running a couple commands shown below.

Installation

CD into the directory of this project and run the following three commands:

  1. composer install
  2. php artisan migrate
  3. php artisan db:seed

This will install all Composer dependencies, create the database structure and populate the database with some sample data so that you could see this project in action.

 

3. 설치후 디버그 옵션주고 http://tricks.qnotes.co.kr 접속

 

4. .htaccess : ExpiresActive not allowed here 에러 발생으로 접속 안되어서 저부분 삭제

5. 사이트는 접속이 되었으나 디버그 옵션을 준 상태라 아주 예쁜 디자인의 친절한 에러페이지 표시

redis 관련 에러였습니다.

http://www.redisgate.com/redis/configuration/redis_start.php

https://www.lesstif.com/pages/viewpage.action?pageId=23757275

두 사이트의 설명대로 redis부분만 따라하니 에러제거 후 사이트 원활히 작동되었습니다.

 

***

설치후 composer의 위력을 느끼게 되더군요.

마치 온라인 주문해서 배송 받는 느낌? 그런 느낌이었습니다.

 

 

글쓴이 제목 최종 글
기진곰 소셜 로그인의 명암 [14] 2015.11.12 by 기진곰
이온디 xecon 참석하시는 분들 계시면 모여서 ktx 할인 적용해서 같이 가보실래요? [6] 2015.11.11 by 독도2005
엘포 Let's Encrypt 설치해 보았습니다 [12] 2015.11.11 by 엘포
이온디 [스킨자랑] 포인트 마켓 스킨 만들었어요! [7] file 2015.11.11 by 이온디
광전사 XE는 어떤형식으로 게시판이 만들어지나요? [1] 2015.11.08 by misol
웹엔진 XE 데모가 생겼네요. [2] 2015.11.07 by Stever베이직스터더
뭐로할까 진짜 초보적인 질문 죄송한데요ㅠㅠ [3] 2015.11.07 by I-JEX
데벨 퍼니오 호스팅 사용해보신분 있으신가요? [16] 2015.11.06 by 이온디
마이웹 laraveltricks.com 사이트 복제 후기 입니다. [2] 2015.11.05 by 마이웹
마이웹 오늘 Laravel 설치했습니다. [3] 2015.11.04 by 마이웹
가르송 스팸글 대박이네요.. [4] file 2015.11.04 by Icarus
BJ람보 [XpressEngine] XE 모듈속 메소드 이용하기! [중고급강좌]  
위드파트너 1.8.12 보안패치 -> xe 알림센터 모듈 오류 [6] 2015.11.03 by 위드파트너
익명 php 5.2.17에서 XE를 쓰기위해 다른 버전을 쓰면...? [3] 2015.11.02 by Luatic™
delphiXE2 5달 넘게 진행되던 PHP7 개발이 끝을 향해.. [2] 2015.11.02 by Icarus
자동차 XE 와 RPG maker MV 를 연동할 수 있을까요? [8] file 2015.11.02 by 독도2005
마이웹 사이트메뉴 편집에 들어가면 에러가 나네요. [2] 2015.10.30 by 마이웹
XE러버 타임라인 모듈 최근 XE 패치 이후 [4] 2015.10.28 by XE러버
BJ람보 [XpressEngine] Slack 채팅방에 같이 참여하기!  
BJ람보 1.8.12으로 인해 ajaxboard의 Redirect 실행오류. [2] 2015.10.25 by BJ람보