Category : git

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 ..

Read more

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 ..

Read more

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 ..

Read more

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() . ..

Read more

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. ..

Read more

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 ..

Read more