LaravelDaily / Test-Laravel-File-Upload

60 stars 232 forks source link

Can't do php artisan install/update to start ser #69

Open Nelutato opened 2 years ago

Nelutato commented 2 years ago

PHP Warning: require_once(/var/www/html/Laravel_Daily_Tests/Test-Laravel-File-Upload/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/Laravel_Daily_Tests/Test-Laravel-File-Upload/artisan on line 18

PHP Fatal error: require_once(): Failed opening required '/var/www/html/Laravel_Daily_Tests/Test-Laravel-File-Upload/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/Laravel_Daily_Tests/Test-Laravel-File-Upload/artisan on line 18

,when i commented this, there were warnings and errors for each line in artisan file any issues ? oh and my permissions are set good

OussamaMater commented 2 years ago

Hello Nelutato, After you clone this project you have to install the dependencies first to be able to run any artisan commands, follow up these steps:

  1. git clone
  2. composer install --ignore-platform-reqs
  3. cp .env.example .env
  4. php artisan key:generate
  5. update the .env and setup the DB creds

You should be ready to go, hopefully this helps you get started.