First create a service file Add to the file the docker compose service like so, Then enable the service Then start the service Check the…
Read Full ArticleCreate multiple Laravel models with one command
To create multiple Laravel models with a single command
Read Full ArticleManaging WSL distributions in Windows Powershell
To list distributions Output would look something like this The asterisk is the default one. To change the default distribution To remove a distribution in…
Read Full ArticleAdding SSH key to gitlab
Go to ssh folder Create an SSH key Go through the prompts, don’t enter a password unless you want to enter a password every time…
Read Full ArticleFlush Redis Cache using the redis cli
To Flush redis using the redis-cli To flush it in a docker container
Read Full ArticleCreate a Gitlab Runner for your Gitlab Projects in Ubuntu
The documentation for installing a gitlab runner can be found here:https://docs.gitlab.com/runner/install/linux-repository.html Run this command which will add the repository and run apt-get update Install the…
Read Full ArticleUsing different RSA keys per repo
In order to tell a project to use a specific RSA key
Read Full ArticleRestart Laravel Horizon on Server
There is a couple of ways to do this. Terminating the process and allowing supervisor to restart it for you: Another is to restart with…
Read Full ArticleLaravel API and Pusher Notifications
Install pusher Add environment variables Make sure you change the Broadcast driver to pusher Go to “config/app.php” and uncomment the following line: Create an Event…
Read Full Article