Having trouble deploying Laravel 5 to DigitalOcean
Okay this is my first project, so it is probably a really basic issue, but I just can't deploy files from Github to DigitalOcean. I don't have any problems creating a new server and it shows up fine on DO. I also do not have a problem SSH-ing into DO and seeing the original default/public site. As soon as I hit the "Deploy Now" button I get an error and all site files are removed.
My error on Forge is:
"We were unable to deploy your project to your server ()."
Warning: Permanently added the RSA host key for IP address '123.30.123.123' to the list of known hosts.
From github.com:<github/project>
branch master -> FETCH_HEAD
Already up-to-date.
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
Generating optimized class loader
Compiling common classes
[PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO)
Thank you, that worked. I feel like such a noob. I have been working with LAMP for years and getting lazy. Now that I am trying to educate myself, I am realizing how lost I really am.... ugh....
@desloc do you know how you would do this on digital ocean without forge? .env is gitignored
Can't seem to find any tutorials to deploy from github with a simple pull / clone.