Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

DingWeed's avatar

Stuck in Bootcamp

Hello,

I just (re-) started my go on laravel. As a starter I am trying to follow the development of the demo application at https://bootcamp.laravel.com. I chose to use the inertia option as I would like to work with vue.

But I am stuck right at the beginning and don't know how to fix that. In the bootcamp the dev stack seems to be localhost only creating a server via 'php artisan serve'.

But I am using a dedicated (debian) server in my local network which i'd rather use. The demo tries to access localhost on various occasions which obviously does not make any sense when the server is running on another machine. So The result is always a WSOD when accessing the route in the demo. In my case it is http://www.chirper.local/chirps instead of http://localhost/chirps.

Can anybody help me out? Thank you

0 likes
3 replies
Sinnbeck's avatar

You can run any server you want :) The only thing you need to make sure is that the web root is /public

They just user php artisan serve in the examples as that is easier for beginners.

Can you get the laravel welcome page up after installing laravel?

DingWeed's avatar

Web root IS /public.

Ok, seems I am getting there slowly. "npm run dev", as I understand it, builds the necessary vue assets on the fly. Hence the attempts to access localhost? Now I have run "npm run build" which generated the assets in /public on the spot. Now the WSOD is gone.

Sinnbeck's avatar

@DingWeed Yeah exactly :) You might need some small changes if npm run dev isnt working. If it is failing, try opening the browser console and check for errors

Please or to participate in this conversation.