A generator for Yeoman, this generator create a codeigniter (php framework) structure.
- Make sure you have yo installed:
npm install -g yo
- Install the generator:
npm install -g generator-tobirama
- Run:
yo tobirama
- Front-end files are in the folder templates/default/...
- The folder application/view doesn't exist
- Project Name (default: Project Name)
- Prject URL (default: http://localhost/)
- Database hostname (default: 127.0.0.1:3306)
- Database username (default: root)
- Database password (default: root)
- Database name (default: database_name)
- Timezone (default: America/Sao_Paulo)
These settings are in the file CONFIG.ini, located in the project root, you can change it at any time.
To avoid reading CONFIG.ini to each request, if you have memcache installed on the server and enabled in PHP will be used to cache the project settings, to remove this cache access memcache via terminal and delete the key entered during installation, or change the key ($ memcache_key) within the index.php file.
Links: