I forked a working php project from github to create some json files to it, but i can't test it because js and css won't load, i have never used php in my life, so i followed what the install guide said.
composer install
- edit .env
php artisan migrate:refresh --seed -vvv
testing vendor/bin/phpunit
This was the guide.
What i did step by step.
- installed wamp64
- cloned the repo into www
- installed composer
- ran the
composer install
command on the right folder - created virtual host for the folder with wamps add a virtual host option, named targygraf.test
- created a db with phpmyadmin and set pw
- edited the .env file to targygraf.test and to use the db and pw i created
- ran
php artisan migrate:refresh --seed -vvv
It did what it should i suppose because the database built up, and i was able to access the page with the server.php file, except that css and js didn't load.
Checked with the inspector and they were linked like this http://targygraf.test/server.php/assets/js/targygraf.js
, i have visited a TON of forums about the problem, every single one said that i have to turn rewite_module
on and set AlloweOverride
to All so i did. But still nothing, and as i said earlier, the app was working on another pc and is working online right now, so i'm guessing i did something wrong.
This is the original github link: https://github.com/valentinxxx/targygraf
Edit1: corrected step 5 and 7, added original link