04-03-2022
This commit is contained in:
@@ -2,44 +2,43 @@
|
||||
|
||||
|
||||
|
||||
#### Installer nvm
|
||||
### Installer nvm
|
||||
|
||||
```bash
|
||||
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
||||
```
|
||||
|
||||
Installer node=lts/fermium (ou mettre-à-jour)
|
||||
|
||||
```bash
|
||||
$ nvm install --lts=fermium
|
||||
nvm install --lts=fermium
|
||||
```
|
||||
|
||||
Mettre-à-jour npm
|
||||
Mettre-à-jour npm:
|
||||
|
||||
```bash
|
||||
$ npm -g install npm
|
||||
npm -g install npm
|
||||
```
|
||||
|
||||
Réinstaller les paquets d'une ancienne version après une mise-à jour:
|
||||
|
||||
```bash
|
||||
# update 14.17.3 depuis 14.17.0
|
||||
$ nvm reinstall-packages 14.17.0
|
||||
```bash title="Update 14.17.3 depuis 14.17.0"
|
||||
nvm reinstall-packages 14.17.0
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Installer thumbsup
|
||||
### Installer thumbsup
|
||||
|
||||
```bash
|
||||
$ npm -g install thumbsup
|
||||
npm -g install thumbsup
|
||||
|
||||
$ which thumbsup
|
||||
which thumbsup
|
||||
/var/services/homes/bruno/.nvm/versions/node/v14.17.3/bin/thumbsup
|
||||
```
|
||||
|
||||
```bash
|
||||
$ cd /volume1/photo/thumbsup
|
||||
cd /volume1/photo/thumbsup
|
||||
total 32
|
||||
drwxrwxrwx+ 1 bruno 138862 286 Mar 15 10:56 .
|
||||
drwxrwxrwx+ 1 138862 138862 588 Aug 9 08:35 ..
|
||||
@@ -57,11 +56,17 @@ drwxrwxrwx+ 1 bruno users 122 Nov 29 2020 theme-flow-bruno
|
||||
-rwxrwxrwx+ 1 bruno users 365 Mar 15 10:11 thumbsup_update.sh
|
||||
```
|
||||
|
||||
```bash
|
||||
$ nano config.json
|
||||
|
||||
|
||||
### Configurer thumsup
|
||||
|
||||
https://thumbsup.github.io/docs/3-configuration/usage/
|
||||
|
||||
```bash title="Configurer Thumsup"
|
||||
nano config.json
|
||||
```
|
||||
|
||||
```json
|
||||
```json title="config.json"
|
||||
{
|
||||
"input": "/input/Flore",
|
||||
"output": "/output/gallery",
|
||||
@@ -85,7 +90,7 @@ $ nano config.json
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
$ thumbsup --config config.json
|
||||
```bash title="Lancer Thumbsup"
|
||||
thumbsup --config config.json
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user