포럼
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.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 usinghttp://<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:
composer install
php artisan migrate
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
의 위력을 느끼게 되더군요.
마치 온라인 주문해서 배송 받는 느낌? 그런 느낌이었습니다.
댓글 2
글쓴이 | 제목 | 최종 글 |
---|---|---|
고나리자 | 포럼 형식 게시판은 정말 토론에만 적합할까요? [3] | 2015.12.07 by 기진곰 |
유진123 | 사이트맵 출력 글 수 [1] | 2015.12.06 by 가브리엘조 |
IC | XE를 fork해서 따로 작성중입니다. [9] | 2015.12.05 by 다미아빠 |
HIKARU | 오묘한 조회수 업데이트 딜레이 현상 [7] | 2015.12.05 by 가브리엘조 |
착한악마 | xeicon 애드온입니다. [11] | 2020.03.14 by 2donggalbi |
BJ람보 | [XpressEngine강의] DebugPrint 함수 사용하자! | |
마이웹 | 천하삼분지계 | |
로파이 | XE3 개인적으로 기대되네요. [14] | 2015.11.26 by Double'U' |
벤지 | XE3 에 Blade 에 대한 자료가 어디 없을까요? [6] | 2015.11.21 by 벤지 |
BJ람보 | XE3에 대한 저의 생각.. [16] | 2015.11.21 by Luatic™ |
마이웹 | 응답속도에 대한 편견 [11] | 2015.11.21 by Luatic™ |
Wantso | ccTLD 이쁜 도메인 쓰시는 분들 주의하세요 [1] | 2015.11.20 by ConoHa |
delphiXE2 | XE3 다들 써 보셨는지? [19] | 2015.11.19 by Luatic™ |
마이웹 | XE3 착에 등록한 내용 입니다. [2] | 2015.11.19 by 마이웹 |
Wantso | 그 예전 게시판 DX 모듈에 댓글 별점기능이 있었나요? [2] | 2015.11.19 by Wantso |
AJKJ | 무료SSL 프로젝트 Let's Encrypt [21] | 2015.11.16 by AJKJ |
플레이캠핑 | 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 패치 노트 리뷰 |