title: What is the correct .gitignore folder for a Yii1 application?
body: <p>I am struggeling with a git repository for a YIi1 application. Because I Have a Yii1 application with the following folders:</p>
  <ul>
  <li>css</li>
  <li>protected</li>
  <li>assets</li>
  <li>themes/AdminLTE</li>
  </ul>
  <p>And this is my .gitignore file:</p>
  <pre><code>
  .vscode/*
  !.vscode/launch.json
  
  protected/components/widgets/select2/assets/*
  protected/extensions/*
  protected/lib/*
  themes/*
  
  /.htaccess
  /.htpasswd
  /.htpasswd.bak6
  /protected/.htaccess
  
  #javascript libaries
  js/*
  
  # Default ignored files
  /shelf/
  /workspace.xml
  # Datasource local storage ignored files
  /dataSources/
  /dataSources.local.xml
  # Editor-based HTTP Client requests
  /httpRequests/
  
  # phpstorm project files
  .idea
  
  # netbeans project files
  nbproject
  
  # zend studio for eclipse project files
  .buildpath
  .project
  .settings
  
  # windows thumbnail cache
  Thumbs.db
  
  # composer vendor dir
  vendor/
  
  # composer itself is not needed
  composer.phar
  
  # Mac DS_Store Files
  .DS_Store
  
  # phpunit itself is not needed
  phpunit.phar
  # local phpunit config
  /phpunit.xml
  
  tests/_output/*
  tests/_support/_generated
  
  #vagrant folder
  /.vagrant
  
  
  .protected/vendor/*
  
  assets/*
  !assets/.gitignore
  protected/runtime/*
  !protected/runtime/.gitignore
  protected/data/*.db
  </code></pre>
  <p>So I pushed everything to the server. And I tested if I could run the application. But when I did a composer install. The whole themes folder was missing. So I added the Themes/AdminLTE folder in the root folder. But the AdminLTE folder is 40MB and has a bower-components folder. So it is very 'huge'   I think.</p>
  <p>So my question is: has this folder to be included in the .gitignore file or not?</p>
  <p>And I also don't see a assets folder in the root directory. Is this correct?</p>
  <p>Thank you</p>