Skip to content

kunal1244/yearbook_new

Repository files navigation

yearbook

Create a .env file with content same as .env.example with your database name and username and password

Run following comands first:

  1. composer install

  2. composer dump-autoload

  3. php artisan key:generate

  4. php artisan migrate

  5. php artisan serve

  6. composer require intervention/image

  7. open config/app.php => a. Add "Intervention\Image\ImageServiceProvider::class" to $providers array b. Add "'Image' => Intervention\Image\Facades\Image::class" to $aliases array

  8. php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"

Also change the function username() inside AuthenticatesUsers.php by changing 'email' to 'rollno' for login functionality to work

To allow large file upload edit /etc/php/7.0/cli/php.ini file

upload_max_filesize = 100M post_max_size = 125M #Restart apache systemctl restart apache2.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published