I cloned and install laravel project from git, also i had to copy.Env file from fresh laravel project because git ignored env file when i pushed it amd connected successfully with database. Everything working fine but image not uploading . Here is the picturesdd result Database Sourc..
Either I miss something, or the whole chain lacks something. Here’s my assumption: The whole point of containerization in development, is to reduce the cost of environment setup, and create a prepared image with all the required pieces. So, when I read that Laravel Sail is installing laravel via containerization, I get excited. Thus I ..
I am having some issues cloning a private repo into my CPanel server, because of a previously-cloned private GitHub repository. I have cloned it before using ssh access and everything went right. However, I need to clone another repo that is also private and using ssh access, as well. I followed all the procedure to ..
Setting up a new laravel server I seenthat not all files are pushed. I set up a bare repo, according to the instrctions in:https://devmarketer.io/learn/deploy-laravel-5-app-lemp-stack-ubuntu-nginx/ (step 11 and following) The first time it pushed a lot of files. The css and js files that were added to the resources later, are not pushed anymore. They are ..
I’m building DMS (Document management system) using PHP framework Laravel. One of the requirements is allowing users to version control files, close to what google docs does. I’ve been searching for days without any clue, I don’t want to re-impalement the wheel, there’s a lot of really good VCS already including git which I’m thinking ..
I was doing some bug fixing. Rather than make the changes locally then upload to github and download again on the server I just edited manually on the server then used "git reset –hard origin/master" to return the site to its previous state once I had the information I was looking for. Unfortunately for me ..
We had an issue where it appears that for some reason, some files had gone missing on the server after running ‘git pull origin branchname’ on the server. I checked the codes and there are no changes that execute the hard deletion of the missing folder. I am using a linux, laravel framework and GIT ..
I get this error message on clone (I have windows, my colleague is working on mac machine): error: invalid path ‘public/C:UsersMy-PCDocumentsProjectsSamplestoragelogs/laravel.log’ fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with ‘git status’ and retry with ‘git restore –source=HEAD :/’ and when I try the ..
I am bit new to docker as well as sail. How is it possible to start sail up without using composer install first? if I clone repo from git it wont have vendor, env etc. In that case I need to do those manually. Need to run composer install from machine environment not container environment. ..
I installed my project on aws elastic beanstalk created env on the server run php artisan key:generate command and filled all env variables and this works fine and my application starts. but then i push again some work on my server through ci pipeline but it automatically deletes the env file. also note that i ..
In my Laravel project, I have different types of modules like employee, customer & vendor modules. Recently I split each module into a separate repository. Now if I adding a Model means, I need to duplicate it other repositories also. Is there is any possibility to overcome this? Is there is any possibility to sync/share ..
I’m trying to set up a cpanel-hosted repository to make continuous deployment with a laravel project, which is also hosted in a github repository. The goal is to use a subdomain as a test server (like xampp on my pc) in order to work with the same environment as the shared hosting server I have ..
Hello we are working in laravel project and using gitlab version control. However I have something I want to avoid because everytime someone makes a push, docker-compose.yml, composer.lock, composer.json change and make some problems. I want to add them on .gitgnore file but i don’t know if is the best thing to do. Any advice? ..
I’m a newbie in git and I have this project on github https://github.com/AlphyGacheru/MyPortfolio that is live on heroku https://alphayogacheru.herokuapp.com/ I’d like to have the project run on my computer and being able to edit and pushing to github as before so that changes can take effect on heroku as before. How do I go about ..
I am working on a laravel project and literally, after any command in the git bash file explorer randomly opens few times. If I run npm run dev, npm install, PHP artisan something… Sourc..
So, there is a tool Laravel Mix which could be run via npm command like npm mix dev or npm mix prod. Locally I need styles and scripts to be compiled but not minified. So I have to run npm mix dev. But I need to commit only minified versions of such files. And it’s ..
Recently I faced a situation that I should improve an existing site that has been build in Laravel which is currently live and it has more than 10000+ images/files and a large database. I was thinking of what approaches should I take to develop this in local without turning down the existing site so I ..
Using use SpatieBrowsershotBrowsershot after I upload with git my changes to bitbucket and the changes automatically uploaded to our dev server (I do not know how it is implemented it was done by other people) I got error Class ‘SpatieBrowsershotBrowsershot’ not found when refered code: use SpatieBrowsershotBrowsershot as SpatieBrowsershot; … createDir([public_path() . ‘/upload’, public_path() . ..
I’m working with a team on a Laravel project and the version control tool is Git. I’ve installed "PayFast/payfast-php-sdk" on my project and it is located in Laravel vendor directory. I have to make changes on this SDK as per my project requirement. But since this SDK is located in vendor file, if I make ..
There was a folder name called profileimg in the local computer and the AWS codecommit repository. That folder fills with images when a user uploads images. However, when I change some code in the local computer repo and git push into remote repo ( AWS codecommit repo ), profileimg folder override with empty data and ..
When I try to install voyager on laravel 8 with composer: composer require tcg/voyager It starts installing, but then flashes error message: Install of tcg/voyager failed Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Failed to clone https://github.com/the-control-group/voyager.git, git was not found, check that it is installed and in your PATH env. ..
I regularly use Laravel to build applications. Recently, I have started using Lumen to build microservices. One thing I notice with Lumen, is that I often only need to create 2-3 files, and edit a further 2-3 (providers, configs and routes). In total, I am editing or creating 5-6 files. It feels to me that ..
I’m working on a Laravel application. I deploy it with Github Actions based on this article. I set up a GitHub repository with three branches: master: this is where I work production: when I push my master to production, a GitHub action is triggered. This action runs npm run production and generates CSS files. deploy: ..
Need help please for the permission I was deploying our webapplication to new server, my problem is that everytime I will git pull in root user, when I check my webapplication I get permission denied always. Like for example I will edit the UserController and push to repo and download to my server using git ..
On our project, we use Laravel and React, but it’s my first commercial project and i’m not familiar with making production build for deploy on server. On the server first view loads around 50-60 second and i’m wanna resolve this issue. I need some advice how decreasee time of first load and the steps i ..