How to setup Koel personal music streaming server in 10 simple steps with Laragon

Koel is a simple web-based personal audio streaming service written in Vue at the client side and Laravel on server side. Targetting web developers, Koel embraces some of the more modern web technologies – flexbox, audio and drag-and-drop API to name a few – to do its job.


Laragon offers you a fast, powerful and Isolated Development Environment. It is portable and very flexible.


Make sure Laragon is running, press Ctrl + Alt + T to open Terminal

Ctrl + Alt + T 

In Terminal, first jump your Document Root

cd C:\laragon\www

Clone koel project, and jump to the project

git clone https://github.com/phanan/koel.git && cd koel

Install npm-install-missing (this module will attempt to reinstall any missing dependencies).

npm install -g npm-install-missing

Install nodejs dependencies. (You can press Ctrl + T to open a new tab and run Step 6 simultaneously. If you find any errors, run the command again)

npm install 

Install php dependencies

composer install

Modify .env file

# After that, it can (and should) be removed from this .env file
ADMIN_EMAIL=login@email.com
ADMIN_NAME=leokhoa
ADMIN_PASSWORD=secret
....
DB_HOST=localhost
DB_DATABASE=koel
DB_USERNAME=root
DB_PASSWORD=

 

Click Start All button to start Apache & MySQL servers. Laragon will detect and make beautiful url: http://koel.dev
If not, right click to open menu, click Apache/Reload

 

Create MySQL database for koel

 mysqladmin -u root  create koel

Init database & done!

php artisan init

Now, navigate to http://koel.dev, you should have your personal music streaming server up & running

 

References

https://forum.laragon.org/topic/18/how-to-setup-koel-personal-music-streaming-server-in-10-simple-steps

Install WordPress in Windows with Laragon

In my first blog, I posted how easy to create Laravel5 application with Laragon.

How about other PHP web applications? Even easier.

Let’s walk-through how to setup WordPress easily with Laragon.

Launch LaragonRemember to start all services if they’re not running.

step1_createdb

Open phpmyadmin. Create wordpress database, I name it lara_wp

step1_createdb2

Download latest WordPress package from https://wordpress.org/download/

Use Laragon to open Root folder.

step2_copy_wp

Extract and copy wordpress to Root folder

step2_copy_wp_root

Stop and Start Laragon. Doing this to tell Laragon reload Root folder. Now you can see the wordpress application in Laragon. Click it.

step3_launch_wp

Laragon will launch WordPress in web browser. Follow the following screenshots. They’re quite clear.

setup_wp0

Enter database info.

setup_wp2_db

Next

setup_wp2_runinstall

Setup first site

setup_wp4_install

Login Page

wp_login

WordPress Admin

wp_admin

WP front end

wp_fe

Next is your turn to check out Laragon and WordPress features. Let me know any missing features. I will update.

Series

How to install Laragon and Laravel 5 on Windows
Install WordPress in Windows with Laragon
Install Drupal in Windows with Laragon (soon)
Master Cmder with Laragon (soon)
Virtual Hosts with Laragon (soon)
Laragon: Redis is your friend (soon)
Laragon: Memcached I’m not dead yet (soon)

 

References:

How to install Laragon and Laravel 5 on Windows

Laravel is a rapid web application development designed for Web artisans. Laravel 5 is just released with some cool features. Let check it out.

Since I’m using Windows so I’ll go with Laragon.

Why not XAMPP or WAMP?

Laragon is extremely fast, friendly menu, has all services we need ( Mysql, Memcached, Redis, Apache,..) and better than all it supports Laravel (4,5) as built-in features.

Why not Homestead?

Fine but remember to fix all issues here first.

https://laracasts.com/discuss?search=homestead

Ok. Let’s go

1) Download the latest Laragon here:

http://laragon.org/

Laragon 0.5
Laragon 0.5

2) Installation Laragon is straight-forward so needs no explanation. I have some screenshots for easy tracking.

setup_laragon0.5

setup_laragon0.5_2

At this step, you feel free to choose your formal working folder. Laragon is isolated and you can move it around after installing.

setup_laragon0.5_3

Laragon 0.5 provides cool feature to auto-detect working projects and create virtual host for you. Nice.

setup_laragon0.5_4

setup_laragon0.5_5

3) Run Laragon

run_laragon_menu

Choose Laravel > Create Project > Laravel 5

laragon-windows-10

run_laragon_menu3

See how Laragon bootstraps Laravel project behind the scene

run_laragon_menu4

It’s done

run_laragon_menu_done

What’s next?

Go to Laragon > Menu > Laravel > Switch Project > Valar

run_laragon_menu_valar

Note that Laragon automatically creates Virtual host for Valar application, starts Apache and Mysql and opens your default web browser.

run_laragon_finish

Ok. It’s basic setup for a Laravel 5 development environment in Windows with Laragon.

Enjoy !

Series

How to install Laragon and Laravel 5 on Windows
Install WordPress in Windows with Laragon
Install Drupal in Windows with Laragon (soon)
Master Cmder with Laragon (soon)
Virtual Hosts with Laragon (soon)
Laragon: Redis is your friend (soon)
Laragon: Memcached I’m not dead yet (soon)

References