Hello, i am new in Laravel and in DigitalOcean too :) I create droplet, install Vesta and after install Laravel 5.1 I have several questions:
i not use homestead, i dont`know what is this. i think its like xamp(lamp/wamp) i use my droplet. 3) Laravel has something like YII gii or CakePHP (code generator from database with relationships) ? In the terminal i try use command php artisan make:model User php artisan make:migration create_users_table after php artisan make:migration add_votes_to_users_table --table=users
php artisan make:migration create_users_table --create=users in terminal all succesfully and i see new models, controllers, but in my database - not.
What i want - i want use PHPSTORM 9 and create, edit files and upload to server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It is finding the database, but denying access for the homestead user.
Homestead is a Vagrant box containing the full Laravel development environment aiming to make it simple to get everything up and running locally. As the Laravel database docs mention, by default the .env file is configured for using Homestead:
By default, Laravel’s sample environment configuration is ready to use with Laravel Homestead, which is a convenient virtual machine for doing Laravel development on your local machine. Of course, you are free to modify this configuration as needed for your local database.
In your .env file, you need to specify the username, password, and database as well as your host.
DB_HOST=localhost
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=mysupersecretpassword
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.