crater
crater copied to clipboard
Unable to Install application on my localhost, any manual installation guide??
For installation, i downloaded latest release i.e. https://github.com/crater-invoice/crater/archive/refs/tags/6.0.6.zip
Unzipped and Tried to run it by using
php artisan serve
It shows installation wizard in browser, but i got stuck in database setup slide, as it is showing errors like
Is there any way to skip installation wizard steps and install application manually?? As i tried on three machines, macbook air, macbook pro and windows 11. On all machines i got stuck at this stage, so there must be some issue in application (might be in latest release).
======= In order to solve this, Steps I tried are:
I imported db tables by using
php artisan migrate
and see database too by using
php artisan db:seed
Created a file under storage/app directory
and was able to skip installation steps, now it is showing login screen, but when i am trying to login I am getting error like
As per console error is with http request /api/v1/bootstrap
Getting response like
{"message":"Unauthenticated."}
Can someone please let me know what is wrong with application. How to get it resolved.
Very many thanks!!
Please check this video for installation steps: https://www.youtube.com/watch?v=waheY7LHBdc
I guess you didn't modified theses variables :
SANCTUM_STATEFUL_DOMAINS=127.0.0.1:8000
SESSION_DOMAIN=127.0.0.1
Because it work on my localhost and when I empty theses two variables like this :
SANCTUM_STATEFUL_DOMAINS=
SESSION_DOMAIN=
I get the same error as you
Hi @lMagickl, you shouldn't primarily rely on the browser console to solve the issue. You need to check PHP logs and the logs of the engine you are using, Apache or Nginx. Also, check laravel logs and post them here. Go through the basics, check the file permission, start a new and seed the DB. Also, SESSION_DOMAIN is needed if you want to have any login functionality.
Also not sure if that is still the case, but you may want to try to download the crater invoice from the official site instead of GitHub. I remember I had some issues with the Github version.
My bad I didn't notice that @starpunjabi answered to himself x) I tried to help him
Yes it works for me, Your video is really awesome. Thanks a lot @starpunjabi