Member Since 3 Weeks Ago
4,920 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Replied to Sail Node Version
I can manually specific which version of Node to install by modifying vendor/bin/sail/runtimes/8.0/Dockerfile (lines 32-33):
&& curl -sL https://deb.nodesource.com/setup_15.x | bash - \ # change this line to whatever version you want && apt-get install -y nodejs \
However, this isn't really a solution because any updates to Sail will overwrite this. It would be great if there was a way to manually specify Node versions in the docker-compose.yml file.
Replied to Sail Node Version
@neilstee Thanks for the reply.
When I run
node --version inside the Laravel.test container, it is using the latest version (currently v15.14.0). Is there a way I can use LTS (v14.16.1) instead of Latest?
Started a new Conversation Sail Node Version
Is it possible to choose a different version of Node or NPM when building a project with Sail? I know you can choose different versions of PHP with:
# PHP 8.0 context: ./vendor/laravel/sail/runtimes/8.0 # PHP 7.4 context: ./vendor/laravel/sail/runtimes/7.4
Is there something similar I can modify in my docker-compose.yml for Node versions?
Started a new Conversation Laravel Sail .env Confusion
My project has .env.dev file that with things like the AWS S3 key and APP_KEY left intentionally blank. The idea is you clone the project, make a copy of .env.dev and name it .env, then fill in what you need.
Problem is when I use Sail, it seems to prefer using the .env.dev.
For example, if I run
sail up -d and then
sail artisan key:generate, it will generate an APP_KEY in .env, but when I go to the home page I get an error saying application key not found. When I click "Generate a key" it puts a key in .env.dev
Is there a way I can force sail to use .env and not .env.dev? Is it something I can change in my docker-compose yaml file?