unicodeveloper / laravel-hackathon-starter

:computer: :octocat: A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.
http://hackathon-starter-staging.herokuapp.com/
MIT License
1.63k stars 298 forks source link

Installation help needed for newbie #43

Open enthuseuser opened 6 years ago

enthuseuser commented 6 years ago

Hi guys,

Cloned the project and followed the installation instructions until

"php artisan key:generate"

PHP Warning: require(/var/www/html/hackathon-starter-pack/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/hackathon-starter-pack/bootstrap/autoload.php on line 17 PHP Fatal error: require(): Failed opening required '/var/www/html/hackathon-starter-pack/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/hackathon-starter-pack/bootstrap/autoload.php on line 17

bootstrap/audoload.php contains this code

require DIR.'/../vendor/autoload.php';

I'm not able to locate the vendor folder within this project.

How can I solve this?

remade commented 6 years ago

Have you done composer install? Run composer install from your command line in your root directory

enthuseuser commented 6 years ago

I run this before I install composer

sudo apt-get install php5.6-curl

It works now thanks.

budda commented 5 years ago

Following the readme instructions I too got this issue on macOS, so the apt-get suggested solution doesn't work for me.

The composer install command comes after this one according to the readme. Running composer install does fix the issue of then running php artisan key:generate. Looks like a readme documentation error to fix ?