homestead

Laravel homestead not mapping my code folder

独自空忆成欢 提交于 2019-12-22 05:08:12
问题 I am trying to get homestead to work after following the instructions here I have Virtualbox 5.0.6 and Vagrant 1.7.4 on windows 8. The machine boots up fine(ish) the only problem is that my mapped folder is not present on the vm, meaning when I vagrant ssh , the directory /home/vagrant/ is empty, there is no Code directory inside of it. This is a screenshot of the machine booting(it should keep going and saying mapping the folders and stuff): And this is the content of my Homestead.yaml file

Vagrant: missing file id_rsa

时光毁灭记忆、已成空白 提交于 2019-12-22 02:04:51
问题 I'm using windows with homestead and I'm trying to enter vagrant up on the command line but I'm getting this error: C:/www/Homestead/scripts/homestead.rb:106:in read': No such file or directory @ rb_sysopen - C:/Users/Niall/.ssh/id_rsa (Errno::ENOENT) from C:/www/Homestead/scripts/homestead.rb:106:in block (2 levels) in configure' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/config/vm_provisioner.rb:72:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems

where to find config.vm.boot_timeout?

柔情痞子 提交于 2019-12-21 07:37:18
问题 Hi I want to edit the config.vm.boot_timeout in vagrant because I am having problem in booting up the vagrant. where i can find the config.vm.boot_timeout ?and what value should i put ? I am in windows8.1 x86 Thank you in advance. 回答1: You need to run vagrant command to get the location of the vagrant file. And then make changes to the variable config.vm.boot_timeout (Reference) The default value of the variable is 300. You can try changing the default values. Check if you have the latest

Vagrant box add fail

二次信任 提交于 2019-12-20 03:03:06
问题 I was trying to add laravel/homestead box in vagrant but i get different errors. By running vagrant box add laravel/homestead I get this error The box 'laravel/homestead' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via `vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below: URL: ["https://atlas.hashicorp.com/laravel/homestead"] Error: I tried to

Homestead - Connecting to my database

北城以北 提交于 2019-12-20 01:03:41
问题 I just created a fresh laravel project and I'm using a Homestead vagrant box by running vagrant init laravel/homestead and after Vagrant Up When I use vagrant ssh it gives me no problem and I can acces the vagrant box, however when I want to connect to the DB with Heidisql I get a connection error: can't connect to mysql server on 'localhost' (10061) Here's my setup the password I'm using = "secret" 回答1: You should be using the port 33060 instead of 3306 according to the official

Homestead - Connecting to my database

半腔热情 提交于 2019-12-20 01:03:12
问题 I just created a fresh laravel project and I'm using a Homestead vagrant box by running vagrant init laravel/homestead and after Vagrant Up When I use vagrant ssh it gives me no problem and I can acces the vagrant box, however when I want to connect to the DB with Heidisql I get a connection error: can't connect to mysql server on 'localhost' (10061) Here's my setup the password I'm using = "secret" 回答1: You should be using the port 33060 instead of 3306 according to the official

Homestead - Connecting to my database

半腔热情 提交于 2019-12-20 01:03:11
问题 I just created a fresh laravel project and I'm using a Homestead vagrant box by running vagrant init laravel/homestead and after Vagrant Up When I use vagrant ssh it gives me no problem and I can acces the vagrant box, however when I want to connect to the DB with Heidisql I get a connection error: can't connect to mysql server on 'localhost' (10061) Here's my setup the password I'm using = "secret" 回答1: You should be using the port 33060 instead of 3306 according to the official

Class 'Illuminate\Foundation\Application' not found Laravel

扶醉桌前 提交于 2019-12-19 11:52:41
问题 I installed via composer the Guzzle and i received this error, > @php artisan package:discover PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /home/vagrant/PROJ/memo/laravel_project/bootstrap/app.php:14 Stack trace: #0 /home/vagrant/PROJ/memo/laravel_project/artisan(20): require_once() #1 {main} thrown in /home/vagrant/PROJ/memo/laravel_project/bootstrap/app.php on line 14 Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found

Use SSL on Laravel Homestead

青春壹個敷衍的年華 提交于 2019-12-18 12:00:03
问题 I'm using Laravel Homestead and it is working fine. Now I want to implement HTTPS on one of my sites. I found that to achieve that you just need to add ssl: true into Homestead.yaml and then run vagrant reload --provision. I can see it working when I run above command which shows: ==> homestead-7: Running provisioner: shell... homestead-7: Running: script: Creating Certificate: laravel-cashier.local ==> homestead-7: Running provisioner: shell... homestead-7: Running: script: Creating Site:

Vagrant laravel box, guest machine entered an invalid state

让人想犯罪 __ 提交于 2019-12-18 10:46:33
问题 Laravels Homestead vagrant box worked fine until today. After an windows auto update the server fails to start and throws the following error message: The guest machine entered an invalid state while waiting for it to boot. Valid states are 'starting, running'. The machine is in the 'aborted' state. Please verify everything is configured properly and try again. If the provider you're using has a GUI that comes with it, it is often helpful to open that and watch the machine, since the GUI