You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commands.md
-20Lines changed: 0 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,26 +82,6 @@ The main program will then be started as usual as an full windowed app.
82
82
python runme.py switch-back
83
83
```
84
84
85
-
## Updating Local Database
86
-
87
-
You can use the CLI command to merge the latest recipes in your local database.
88
-
To update run the command:
89
-
90
-
```bash
91
-
python runme.py update-database [OPTIONS]
92
-
93
-
# Options:
94
-
# --help Show help
95
-
```
96
-
97
-
This can be useful if your CocktailBerry has been running for quite a while and you want to get more recipes.
98
-
The new recipes will be added to your database, including any missing ingredients.
99
-
100
-
!!! warning "Made many Changes?"
101
-
Please take in consideration that if you made a lot of changes, especially renaming your ingredients, this may add existing ingredients under a different name.
102
-
It is best to make a backup before running the command, to have the possibility to restore the old state.
103
-
The script will also create a local backup, which you can use if you did not backup your data manually.
104
-
105
85
## Clearing Local Database
106
86
107
87
There may be CocktailBerry owners, who want to create a complete new database.
# no need for sudo if there were no Numpy import errors
320
-
cd /home/pi/CocktailBerry/dashboard/qt-app/
321
-
sudo python main.py
319
+
# code to start the application, see v1-launcher.sh
322
320
```
323
321
324
-
```bash
325
-
#!/bin/bash
326
-
# launcher.sh for CocktailBerry
327
-
cd /home/pi/CocktailBerry/
328
-
python runme.py
329
-
```
330
-
331
-
If your setup is equal to mine (Raspberry Pi, CocktailBerry GitHub cloned to the home (`/home/pi/`) folder) you can also just copy the files and comment/uncomment within the launcher.sh to save some typing:
322
+
If your setup is equal to mine (Raspberry Pi, CocktailBerry GitHub cloned to the home folder) you can also just copy the files and comment/uncomment within the launcher.sh to save some typing:
0 commit comments