Yii on Server

Hi Guys.

I Want to know what files/dir I realy need to put on my server and what files/dir I neet to put in .gitignore?

Hi, Cálcio !

  1. If you have your own server with SSH access just copy your app-files only (frontend, etc) without a vendor folder and then run composer update in project root.

  2. Easy way. Copy all your project files to a domain root.

  3. Configure domain setting with home-path to /frontend/web/ for a Advanced Tamplate, or /web/ for Basic Template.

.gitignore is configured already.

This manual may be useful for you - http://www.yiiframework.com/doc-2.0/guide-start-installation.html#configuring-web-servers