31-08-2021

This commit is contained in:
2021-08-31 09:29:05 +02:00
parent 7d89fb0224
commit bb890cba15
28 changed files with 1888 additions and 47 deletions

View File

@@ -0,0 +1,21 @@
# httpd
Version:
```bash
$ httpd24 -v
Server version: Apache/2.4.46 (Unix)
Server built: Apr 19 2021 14:41:36
```
Log:
```bash
cd /var/log/httpd/
-rw-rw---- 1 system log 383317 Aug 25 14:21 apache24-error_log
bruno@DS916:/var/log/httpd $
```

View File

@@ -2,7 +2,7 @@
Installer nvm
#### Installer nvm
```bash
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
@@ -29,7 +29,7 @@ $ nvm reinstall-packages 14.17.0
Installer thumbsup
#### Installer thumbsup
```bash
$ npm -g install thumbsup
@@ -38,3 +38,54 @@ $ which thumbsup
/var/services/homes/bruno/.nvm/versions/node/v14.17.3/bin/thumbsup
```
```bash
$ cd /volume1/photo/thumbsup
total 32
drwxrwxrwx+ 1 bruno 138862 286 Mar 15 10:56 .
drwxrwxrwx+ 1 138862 138862 588 Aug 9 08:35 ..
-rwxrwxrwx+ 1 bruno users 487 Mar 14 18:19 config.json
-rwxrwxrwx+ 1 bruno users 487 Mar 15 10:37 config.json.bak
-rwxrwxrwx+ 1 bruno users 440 Mar 12 06:51 config-npm.json
drwxrwxrwx+ 1 root root 126 Dec 5 2020 @eaDir
drwxrwxrwx+ 1 bruno users 144 Mar 15 11:39 .git
-rwxrwxrwx+ 1 bruno users 9 Mar 15 10:56 .gitignore
-rwxrwxrwx+ 1 bruno users 155 Mar 15 10:44 readme.md
drwxrwxrwx+ 1 bruno users 124 Mar 14 12:48 theme-flow
drwxrwxrwx+ 1 bruno users 122 Nov 29 2020 theme-flow-bruno
-rwxrwxrwx 1 bruno users 24 Nov 15 2020 theme_options.json
-rwxrwxrwx+ 1 bruno users 428 Mar 14 11:58 thumbsup.sh
-rwxrwxrwx+ 1 bruno users 365 Mar 15 10:11 thumbsup_update.sh
```
```bash
$ nano config.json
```
```json
{
"input": "/input/Flore",
"output": "/output/gallery",
"exclude": ["_Archived Items/","thumbsup"],
"include-raw-photos": true,
"thumb-size": 250,
"large-size": 1600,
"photo-download": "symlink",
"cleanup": true,
"sort-albums-by": "title",
"sort-media-by": "date",
"sort-media-direction": "desc",
"home-album-name": "Accueil",
"theme-path": "/input/thumbsup/theme-flow/theme",
"title": "Photos...",
"embed-exif": true,
"locale": "fr",
"footer": "bruno@clicclac.info"
}
```

```bash
$ thumbsup --config config.json
```