title: Invalid Bootstrap path and CDN URL in Yiistrap for Yii Framework
body: <p>I have a project based from Yii Framework. I followed this guide to implement boostrap for my yii project but I'm getting error:</p>
  
  <pre><code>Invalid Bootstrap path and CDN URL not set. Set vendor.twbs.bootstrap.dist alias or cdnUrl parameter in the configuration file. 
  </code></pre>
  
  <p>Here's the URL <a href="http://www.getyiistrap.com/site/started" rel="nofollow">http://www.getyiistrap.com/site/started</a></p>
  
  <p>I followed everything. I didn't use composer. I just downloaded the zip file.</p>
  
  <p>Here's my config file for reference:</p>
  
  <pre><code>&lt;?php
  </code></pre>
  
  <p>// uncomment the following to define a path alias
  // Yii::setPathOfAlias('local','path/to/local-folder');</p>
  
  <p>// This is the main Web application configuration. Any writable
  // CWebApplication properties can be configured here.
  return array(
      'basePath'=>dirname(<strong>FILE</strong>).DIRECTORY_SEPARATOR.'..',
      'name'=>'My Web Application',</p>
  
  <pre><code>// preloading 'log' component
  'preload'=&gt;array('log'),
  
   // path aliases
  'aliases' =&gt; array(
      'bootstrap' =&gt; realpath(__DIR__ . '/../extensions/bootstrap'), // change this if necessary
  ),
  
  // autoloading model and component classes
  'import'=&gt;array(
      'application.models.*',
      'application.components.*',
              'bootstrap.helpers.*',
  
  ),
  
  'modules'=&gt;array(
      // uncomment the following to enable the Gii tool
  
      'gii'=&gt;array(
          'class'=&gt;'system.gii.GiiModule',
          'password'=&gt;'password',
          // If removed, Gii defaults to localhost only. Edit carefully to taste.
          'ipFilters'=&gt;array('127.0.0.1','::1'),
                      'generatorPaths' =&gt; array('bootstrap.gii'),
      ),
  
  ),
  
  // application components
  'components'=&gt;array(
  
      'user'=&gt;array(
          // enable cookie-based authentication
          'allowAutoLogin'=&gt;true,
      ),
  
  
          'bootstrap' =&gt; array(
              'class' =&gt; 'bootstrap.components.TbApi',   
          ),
  
      // uncomment the following to enable URLs in path-format
  
      'urlManager'=&gt;array(
          'urlFormat'=&gt;'path',
          'rules'=&gt;array(
              '&lt;controller:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/view',
              '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
              '&lt;controller:\w+&gt;/&lt;action:\w+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
          ),
      ),
  
  
      // database settings are configured in database.php
      'db'=&gt;require(dirname(__FILE__).'/database.php'),
  
      'errorHandler'=&gt;array(
          // use 'site/error' action to display errors
          'errorAction'=&gt;'site/error',
      ),
  
      'log'=&gt;array(
          'class'=&gt;'CLogRouter',
          'routes'=&gt;array(
              array(
                  'class'=&gt;'CFileLogRoute',
                  'levels'=&gt;'error, warning',
              ),
              // uncomment the following to show log messages on web pages
              /*
              array(
                  'class'=&gt;'CWebLogRoute',
              ),
              */
          ),
      ),
  
  
  
  ),
  
  // application-level parameters that can be accessed
  // using Yii::app()-&gt;params['paramName']
  'params'=&gt;array(
      // this is used in contact page
      'adminEmail'=&gt;'webmaster@example.com',
  ),
  );
  </code></pre>
  
  <p>I followed where to put the bootstrap files. I've been searching on the internet but can't find an answer. Thanks</p>