I'm trying to deploy a simpel laravel project (just the basic laravel code) using Rocketeer. However this keeps failing.
This is what I did. I installed XAMPP, Composer and Git in Windows 7.
Next in the htdocs folder I created the project:
composer create-project test-project your-project-name --prefer-dist
In accordance with the documentations. I executed the following command in my project dir (e.g. C:\xampp\htdocs\test-project) to add the Rocketeer repository to my Laravel 4.1 project:
composer require anahkiasen/rocketeer:dev-master --prefer-dist
Added in app/config/app.php the Provider and Alias for rocketeer.
Then I edited app/config/remote.php to add the credentials for my remote host.
And here the problem begins.
Once I run php artisan deploy:ignite
I get the response that no repository is set. Ok let's do git init
, git add .
and git commit -m "init"
followed by the ignite command again.
And still the response is No repository is set for the repository, please provide one :
What did I do wrong? Probably it got to do with my lack of knowledge of Git.
So did you enter the repository? It is a question from Rocketeer, because he want to create your config files. Just enter you repository address and then look at the config files (app/config/packages/anahkiasen/rocketeer). Or just publish them with Laravel, php artisan config:publish anahkiasen/rocketeer and then modify. (So you do need to push your app to a Git reposity, in case you didn't know that. Bitbucket has free git storage for small teams)
Ah! The problem was the repository! Looking into BitBucket now. And I think that might solve the problem (and sheds some light on git aswell, read a lot of tutorials but did not get why to use it, but now I get the usefullness)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community