Make sure to generate an APP_KEY using the php artisan key:generate command before executing any commands using artisan. This error will pop up if the APP_KEY is not set. RuntimeException: No application encryption key has been specified. env file and make sure to clear the config cache after a change: The database does not exist or the database credentials are invalid. QueryException: SQLSTATE Access denied for user (using password: YES) Read this answer on Stack Overflow for an in-depth explanation. Make sure to define the MYSQL_USER, MYSQL_PASSWORD and MYSQL_ROOT_PASSWORD in your. ![]() SQLSTATE php_network_getaddresses: getaddrinfo failed Make sure to define the env variables and the port as it will not work without these parameters!ĭB_PORT: $ My application is still running on MySQL 5.7 so I'm pulling in the official MySQL Docker image for MySQL 5.7 (the image also supports other tags like MySQL 8) that will spin up a MySQL server in the container. For this reason, we're adding the MySQL service to the workflow. ![]() In most cases, Laravel Nova needs a database. Servicesīefore adding additional steps to our workflow we want to include a service. If you're interested in a setup with a custom Docker container image, read the post Using Github Actions to setup CI/CD with Laravel by Luis Dalmolin. Workflows run on Linux, macOS, Windows, and even Docker container images. The first step loads an action provided by GitHub, imported with the keyword uses. The jobs section can hold multiple steps. It is also possible to chain multiple events or restrict the workflow to a specific branch. In the example above, we listen for the event. We love working with open source software.- uses: keyword on defines when the action will be executed. SWIS is a web agency from Leiden, the Netherlands. If you discover any security related issues, please email instead of using the issue tracker. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |