doc: update Directory Structure

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
VirtualTam 2018-02-14 21:58:41 +01:00
parent 8b48e36594
commit 4c1bcd8b25

View file

@ -1,4 +1,4 @@
TODO: This page is out of date ## Directory structure
Here is the directory structure of Shaarli and the purpose of the different files: Here is the directory structure of Shaarli and the purpose of the different files:
@ -6,9 +6,15 @@ Here is the directory structure of Shaarli and the purpose of the different file
index.php # Main program index.php # Main program
application/ # Shaarli classes application/ # Shaarli classes
├── LinkDB.php ├── LinkDB.php
...
└── Utils.php └── Utils.php
tests/ # Shaarli unitary & functional tests tests/ # Shaarli unitary & functional tests
├── LinkDBTest.php ├── LinkDBTest.php
...
├── utils # utilities to ease testing ├── utils # utilities to ease testing
│ └── ReferenceLinkDB.php │ └── ReferenceLinkDB.php
└── UtilsTest.php └── UtilsTest.php
@ -18,17 +24,18 @@ Here is the directory structure of Shaarli and the purpose of the different file
├── blazy.* # picture wall lazy image loading library ├── blazy.* # picture wall lazy image loading library
├── shaarli.css, reset.css # Shaarli stylesheet. ├── shaarli.css, reset.css # Shaarli stylesheet.
├── qr.* # qr code generation library ├── qr.* # qr code generation library
└──rain.tpl.class.php # RainTPL templating library └── rain.tpl.class.php # RainTPL templating library
tpl/ # RainTPL templates for Shaarli. They are used to build the pages.
images/ # Images and icons used in Shaarli images/ # Images and icons used in Shaarli
data/ # data storage: bookmark database, configuration, logs, banlist data/ # data storage: bookmark database, configuration, logs, banlist...
├── config.php # Shaarli configuration (login, password, timezone, title…) ├── config.json.php # Shaarli configuration (login, password, timezone, title...)
├── datastore.php # Your link database (compressed). ├── datastore.php # Your link database (compressed).
├── ipban.php # IP address ban system data ├── ipban.php # IP address ban system data
├── lastupdatecheck.txt # Update check timestamp file ├── lastupdatecheck.txt # Update check timestamp file
└──log.txt # login/IPban log. └── log.txt # login/IPban log.
tpl/ # RainTPL templates for Shaarli. They are used to build the pages.
cache/ # thumbnails cache cache/ # thumbnails cache
# This directory is automatically created. You can erase it anytime you want. # This directory is automatically created. You can erase it anytime you want.
tmp/ # Temporary directory for compiled RainTPL templates. tmp/ # Temporary directory for compiled RainTPL templates.
# This directory is automatically created. You can erase it anytime you want. # This directory is automatically created. You can erase it anytime you want.
vendor/ # Third-party dependencies. This directory is created by Composer
``` ```