2017-01-11 1 views
0

그래서 fortrabbit에 신선한 laravel을 설치하려고했습니다. 하지만 내가 사이트에 간다는 것은 "끔찍한 일이 생겼다." Laravel 프로젝트를 fortrabbit로 업로드하는 중 오류가 발생했습니다.

# 1. Use Composer to create a local Laravel project named like your App 
composer create-project laravel/laravel --prefer-dist phalcon-tzgl 
# this installs Laravel locally and will take a while 

# 2. Change into the folder 
cd phalcon-tzgl 

# 3. Initialize a local Git repo 
git init . 

# 4. Add all files 
git add -A 

# 5. Commit files for the first time 
git commit -m 'Initial' 

# 6. Add fortrabbit as a remote 
git remote add fortrabbit [email protected]:phalcon-tzgl.git 

# 7. Push changes to fortrabbit 
git push -u fortrabbit master 
# this will install Laravel on remote and take another while 
# the next deployments will be much faster 

그런 다음 나는 .env의 파일 변경 :

APP_KEY=UlQ9WLW9UOELwhzKqtFStpbHKNKGdl82 
APP_ENV=production 
DB_DATABASE=${MYSQL_DATABASE} 
DB_HOST=${MYSQL_HOST} 
DB_USER=${MYSQL_USER} 
DB_PASSWORD=${MYSQL_PASSWORD} 
DB_PORT=${MYSQL_PORT} 
DB_USERNAME=${MYSQL_USER} 

을 내가 루트 "/ 공개"로 변경

은 내가 fortrabbit 명령을 따랐다.

작동하지 않았습니다! 는 그럼

git clone phalcon-tzgl.*************@deploy.eu2.frbit.com:phalcon-tzgl.git 

그리고 내 로컬 서버에서 시도하고 난 내가 뭘 잘못했는지 잘 모릅니다이

Warning: require(C:\xampp\htdocs\phalcon-tzgl\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\phalcon-tzgl\bootstrap\autoload.php on line 17 

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\phalcon-tzgl\bootstrap/../vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\phalcon-tzgl\bootstrap\autoload.php on line 17 

이, 도와주세요있어!

답변

0

run composer install 실제로 모든 패키지를 설치하고 누락 된 자동로드 파일을 만들 수 있습니다.

관련 문제