After "successfully" installing Spark on digital ocean using spark installer, I have my "/resources/views/welcome.blade.php" displayed by default, however "login" or "register" buttons result in error 404.
looks like some kind of a configuration issue. routes/web.php has only two route entries after installation (below) and I don't understand how Spark functions without any routes defined.
Those are just boiler plate routes to create the rest of your app. Sparks routes are in it's package:
/vendor/laravel/spark/src/http/routes.php
Spark will load your custom routes first, and then load sparks routes (so you can override any of their routes in your custom app/routes/web.php if needed)
Got it thanks. But why those routes don't work after my installation. It went fine without any errors, but when I click Login (/login) I get 404, even though I see this route in /vendor/laravel/spark/src/http/routes.php.
My /vendor/laravel/spark/ is linked to myapp/spark directory
Have you registered the service providers in config/app.php, and in this order? I used the composer method to install and followed the instructions. It just worked.
Sorry, I don't, well besides checking the laravel logs along with the server logs to see if any errors show up. I'd also check the owner and permissions of /vendor and the spark dir. I'm using homestead and everything just worked out of the box, so I haven't had to troubleshoot any of this to give you an idea on where else to work.
Hey OP, any luck with this? I'm having the same issue. I installed locally, and immediately deployed to DO using Forge. Spark has a nice landing page, but that's all it is... the links don't work.