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

Advertisements

One thought on “How to setup Koel personal music streaming server in 10 simple steps with Laragon

  1. Hi.
    Im very pleased with Laragon and I use it every day now.
    One question about hosting – If I have a site in Laravel5 – build with Laragon,
    what hosting would be the best ?
    Also, what would be the best integration between the Laragon virtual site and the hosted site ?
    Is there a way to develop directly on hosting site ?

    Thanks a lot !

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s