Skip to content

Instantly share code, notes, and snippets.

View orumad's full-sized avatar

Daniel Muñoz orumad

View GitHub Profile
@orumad
orumad / how-to-setup-laravel-53-vue-js-semantic-ui-project.md
Last active May 1, 2022 16:14
How to setup Laravel 5.3 + Vue.js + Semantic UI project

How to setup Laravel 5.3 + Vue.js + Semantic UI project

Create a new Laravel project with composer:

$ composer create-project Laravel/Laravel myproject

Create the database for the project:

$ mysql -uroot
@orumad
orumad / wordpress-valet-install.md
Last active December 23, 2021 09:59
How to install Wordpress from command line in Valet

How to install Wordpress from command line in Valet

I use Valet as my local web development environment (PHP, Laravel, Wordpress, ...)

This gist is my own recipe to install Wordpress from the command line to use it with Valet. Maybe this is useful for you too.

Install 'WP-CLI' command line tool

@orumad
orumad / laravel-forge-deploy.sh
Created April 25, 2017 15:52 — forked from rap2hpoutre/laravel-forge-deploy.sh
Laravel Forge deploy script without downtime
# stop script on error signal
set -e
# remove old deployment folders
if [ -d "/home/forge/deploy" ]; then
rm -R /home/forge/deploy
fi
if [ -d "/home/forge/backup" ]; then
rm -R /home/forge/backup
fi