Skip to content

Instantly share code, notes, and snippets.

@harikt
Created October 31, 2010 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harikt/656157 to your computer and use it in GitHub Desktop.
Save harikt/656157 to your computer and use it in GitHub Desktop.
Creating your Lithium Project
hari@hari-laptop:/var/www$ li3 library extract hellolithium
hellolithium created in /var/www from /var/www/lithium/libraries/lithium/console/command/create/template/app.phar.gz
hari@hari-laptop:/var/www$ cd hellolithium/
Lets see how it looks ;)
hari@hari-laptop:/var/www/hellolithium$ tree
.
|-- config
| |-- bootstrap
| | |-- action.php
| | |-- cache.php
| | |-- console.php
| | |-- g11n.php
| | |-- libraries.php
| | `-- media.php
| |-- bootstrap.php
| |-- connections.php
| `-- routes.php
|-- controllers
| |-- HelloWorldController.php
| `-- PagesController.php
|-- extensions
| |-- adapter
| | `-- empty
| |-- command
| | `-- empty
| |-- data
| | `-- source
| | `-- empty
| `-- helper
| `-- empty
|-- index.php
|-- libraries
| `-- _source
| `-- empty
|-- models
| `-- empty
|-- resources
| |-- g11n
| | `-- empty
| `-- tmp
| |-- cache
| | |-- empty
| | `-- templates
| | `-- empty
| |-- logs
| | `-- empty
| `-- tests
| `-- empty
|-- tests
| |-- cases
| | |-- controllers
| | | `-- empty
| | |-- extensions
| | | |-- adapter
| | | | `-- empty
| | | |-- command
| | | | `-- empty
| | | |-- data
| | | | `-- source
| | | | `-- empty
| | | `-- helper
| | | `-- empty
| | `-- models
| | `-- empty
| |-- functional
| | `-- empty
| |-- integration
| | `-- empty
| `-- mocks
| `-- empty
|-- views
| |-- elements
| | `-- empty
| |-- hello_world
| | `-- index.html.php
| |-- layouts
| | |-- default.html.php
| | `-- default.xml.php
| `-- pages
| `-- home.html.php
`-- webroot
|-- css
| |-- debug.css
| `-- lithium.css
|-- favicon.ico
|-- img
| `-- empty
|-- index.php
`-- js
`-- empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment