Welcome to our blog! Here you can find stuff about web development, software engineering, WordPress & about our projects and interests.
ALTER TABLE my_table ADD id INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
Suppose you have a Laravel project made by somebody else and you need to install it to run on your Windows machine.
composer install
check .env file
php artisan migrate
php artisan key:generate
php artisan db:seed
php artisan make:auth
For more information on the first two steps you can read the previous two posts in our blog.
After you install Laravel like described on the previous post.
You may need to configure some stuff.
See the video for details:
use Illuminate\Support\Facades\Schema;
also put this line into the boot method:
public function boot() { Schema::defaultStringLength(191); }
Four simple steps to install laravel on windows machine:
More info: https://stackoverflow.com/questions/23881891/laravel-4-1-installation-with-composer-in-xampp
To make ZIP code not required @ WooCommerce Checkout page put this code into your theme’s functions.php file.