I'm trying to upload only specific vendor files to my server using Laravel Forge.
The reason is because I've edited the code in some of my dependencies, whats happening now is that certain features of my site are breaking because when I push from…
I have a problem deploying my project with envoyer which executes an artisan-command I created.
The command gets all my users, performs another artisan command ($this->call('command')) and performs it actions by iterating through all the users.
The…
I have a laravel project deployed to AWS. Recently I gave a thought about using Envoyer for zero downtime deployment.
My project has an uploads directory where user uploads are added by code. Of course that's not added in git.
So when envoyer…
I'm deploying using envoyer as usual. The one caveat is that during my local host development (and while i was switching git branches).. I faced this error:
[ReflectionException] Class App\Http\Controllers\Admin\BatchUpdateStoresController does not…
I use envoyer.io for deploying my apps.
Recently I removed compiled css/js files from my git repo. Instead I want to compile them on production server. I tired to add a couple of deployment hooks after composer install. But without any success,…
I have a VPS running WHM and Cpanel. I have multiple domains hosted there. Say one of them is example.com
What I am intending to do is have two versions of the application.
Production: example.com > /public_html/
Development: staging.example.com >…
I recently created a new production deployment for a new Laravel-based system. Initially, I had a few permissions issues with the storage folder that I resolved pretty easily. Once I resolved those, I had the app running correctly, but upon my next…
Git newbie here! Here's the scenario: app built in Laravel + Envoyer for deploying. So I have a master / develop branches, the first one deploying to site.com and the other one to dev.site.com
I've developed a new feature on develop branch and…
Problem
This is a weird one. I simply added this to my composer.json file:
"maatwebsite/excel": "~2.1.0"
Yet when I run composer install, that library doesn't get installed:
composer show | grep excel
returns nothing.
And so every time I run my…
Background
We have historically had trouble with deploying during operational hours (our setup: we have two EC2 instances behind a load balancer, which each instance having it's own beanstalkd queue. Each instance is configured using forge, and we…
I've configured scheduler to run once every minute to execute two commands:
$schedule->command('amazon:read-sqs')
->everyMinute()
->runInBackground()
->withoutOverlapping()
->sendOutputTo(storage_path('logs/cmd/amazon_read_sqs.log'),…
Ok, i'm not sure i've got this figured out quite right yet.
Everywhere i look, everyone says not to include your .env file in your repo. This makes sense. What I don't understand is how i'm meant to add the .env to a deployed site.
I'm building a…
So I am using Laravel Homestead for my local development. I opted to install it per-project rather than globally so that all of my Homestead configuration files would be tracked in my git repository. To keep my repository clean, I opted to place the…
I am using Envoyer, and when I deployed my project to a live server using Envoyer, the changes did not occur. But when I restart the PHP server from Forge, it worked. Is there any command I used in the hook that auto-restart the PHP server? I am…
I'm using Laravel 5.4, Envoyer and Forge. Every time I deploy master branch on Envoyer, my .env file gets deleted. It has no content.
What should I do? Is it maybe my configuration faulty?