7.1 Web application structure ¶
├── app
│ ├── controllers
│ ├── models
│ ├── protocols
│ └── views
├── conf
│ ├── artanis.conf
│ └── README
├── db
│ ├── migration
│ └── sm
├── ENTRY
├── lib
├── log
├── prv
├── pub
│ ├── css
│ ├── img
│ │ └── upload
│ └── js
├── README
├── sys
│ ├── i18n
│ │ ├── json
│ │ ├── po
│ │ └── sxml
│ └── pages
└── test
├── benchmark
│ └── README
├── functional
└── unit
- lib is where you put your own modules for the app, and the third-part modules could be put into it. The load path will be added automatically when the server core start.
- log is expected to put logs, however, it’s not actually used yet.
- prv is a place to put your private stuffs, like API token or password in text. This should never be added to git.