@soup: You're so lucky. I think you are on Windows 10, and Microsoft listens and updates the OS constantly. I will make Laragon more convenient to Nodejs related projects.
Posts made by leokhoa
RE: npm install errors / gulp no command known
RE: How to upgrade without loosing data?
@aureliusm: Laragon has idempotent feature, so you just click Next, Next, ...and your current version will be up-to-date. So,it is safe to install latest version of Laragon overwrite the current one.
If you worry, just backup 2 folders: your projects in "www" and databases in "data",
Bonus: you can change the paths of these 2 in Laragon/Settings to Cloud folders, so you can backup or sync them easily.
RE: OpenSSL doesn't work
Browser to: https://wiki.dev:8443
It should work.
Please be aware that on conf/extra/httpd-ssl.conf, you must see that:
If you change to other value manually (ex: 443), you must change the VirtualHost correspondly.
Listen 443 ... ... <VirtualHost *:443> ... ...
RE: OpenSSL doesn't work
- On httpd.conf, please make sure this line is uncoment:
- On conf/extra/httpd-ssl.conf, you can append this (you may need to what I make bold properly):
RE: How to setup Koel personal music streaming server in 10 simple steps
@lapoguidi : node-gyp is unstable on Windows, so you may try running 'npm install' again some times. If you are lucky, errors will disappear...
If you find any errors, run the command again
How to setup Koel personal music streaming server in 10 simple steps
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.
I make this tutorial to demonstrate how easy it is (and how to overcome troubleshoots) when using Laragon with a project from github.
You can use the same process for other github projects as well.
- Make sure Laragon is running, press Ctrl + Alt + T to open Terminal
Ctrl + Alt + T
- In Terminal, first jump your Document Root
- 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)
- Install php dependencies
- Modify .env file
# After that, it can (and should) be removed from this .env file ADMIN_EMAILemail@example.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