laravel-aws-eb | deploy configuration to run Laravel | AWS library
kandi X-RAY | laravel-aws-eb Summary
kandi X-RAY | laravel-aws-eb Summary
Ready-to-deploy configuration to run Laravel on AWS Elastic Beanstalk.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of laravel-aws-eb
laravel-aws-eb Key Features
laravel-aws-eb Examples and Code Snippets
Community Discussions
Trending Discussions on laravel-aws-eb
QUESTION
Issue on Laravel to deploy on Elasticbean stalk as I'm using one of the GitHub packages
https://github.com/rennokki/laravel-aws-eb
and I dropped the .ebextensions and .platform folders in my root project.
when I deployed and got an error, I decided to check the log report and it said it was due to a node.js
...ANSWER
Answered 2021-Dec-27 at 14:10If you are using Amazon Linux 2 I recommend you to use Hooks, as you will have more control.
According to the docs:
On Amazon Linux 2 platforms, we recommend using Buildfile, Procfile, and platform hooks to configure and run custom code on your environment instances during instance provisioning.
You can still use commands and container commands in .ebextensions configuration files, but they aren't as easy to work with. For example, writing command scripts inside a YAML file can be challenging from a syntax standpoint
In this case, create the following file in your project
.platform/hooks/prebuild/install_node_js.sh
Here is the content of the file:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laravel-aws-eb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page