포럼
laraveltricks.com 사이트 복제 후기 입니다.
2015.11.05 16:54
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.phpand configure connection settings for your database. -
Configure hostname in
bootstrap/start.phpfile 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 usinghttp://<your-site.com>/login/githubfor 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:
composer installphp artisan migratephp 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의 위력을 느끼게 되더군요.
마치 온라인 주문해서 배송 받는 느낌? 그런 느낌이었습니다.
댓글 2
-
마이웹
2015.11.05 17:50
제가 요즘 Laravel 알아가는 재미가 솔솔 합니다. ^^;
composer를 그동안 뭔지 몰라서 왜 이런게 있는지 몰랐었는데
직접 사용해보니 신선한 충격을 받았습니다.
Laravel+composer 를 사용하는 XE3 완전 기대됩니다.
| 글쓴이 | 제목 | 최종 글 |
|---|---|---|
| 플레이캠핑 | XE1과 XE3의 차이 그것은... [2] | 2016.01.11 by 기진곰 |
| 베이직 | 다들 XECon 잘 보셧나요 ㅇㅁㅇ [2] | 2015.11.15 by 베이직 |
| 라샤 | XE 개발자분들의 의견 부탁드립니다. [6] | 2015.11.14 by 독도2005 |
| BJ람보 | [XpressEngine] 1.8.12 ~ 1.8.14 패치 노트 리뷰 | |
| 마래바 | 섬네일 나타나기 시작 | |
| 기진곰 | 소셜 로그인의 명암 [14] | 2015.11.12 by 기진곰 |
| 이온디 | xecon 참석하시는 분들 계시면 모여서 ktx 할인 적용해서 같이 가보실래요? [6] | 2015.11.11 by 독도2005 |
| 엘포 | Let's Encrypt 설치해 보았습니다 [12] | 2015.11.11 by 엘포 |
| 이온디 |
[스킨자랑] 포인트 마켓 스킨 만들었어요!
[7]
| 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]
| 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 |
composer.. XE3가 기대되는 이유중 하나입니다.