0
votes

I want to upload a Laravel 4 project to my webserver. There are 4 directories inside the project folder:

  • app
  • bootstrap
  • public
  • vendor

However, there are also some loose(?) files too inside that main directory:

  • .gitattributes
  • .gitignore
  • artisan
  • composer.json
  • composer.lock
  • composer.phar
  • CONTRIBUTING.md
  • phpunit.xml
  • readme.md
  • server.php

Do these files also needs to be uploaded on the production server? Or is it enough when only the 4 main directories are uploaded?

1

1 Answers

1
votes

It depends what you will do on your production server.

If you are going to use artisan you need to have artisan. If you will use composer in command line, composer files will also be neeeded. Probably the same is with other files. Everything depends on your production server usage