This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
forked from andreknieriem/photobooth
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Update Photobooth
Andreas Blaesius edited this page Jun 17, 2020
·
12 revisions
To update from an old version to v2.x it's recommend to make a clean installalation.
If you have the git-version of Photobooth installed:
Make sure you have no local changes, else make sure to commit them (git add --all && git commit -a -m "my local changes"
) and keep them in a backup branch you can return to later if needed (git checkout -b mybackupbranch
).
Run below commands in your terminal:
cd /var/www/
sudo -u www-data -s
cd /var/www/html
git fetch origin
git checkout origin/stable2
git submodule update --init
yarn install
yarn build
exit
If you're using the packed Photobooth (zip or tar):
Download latest packed Photobooth (zip or tar) and extract it.
Now open a terminal from that path and type the following:
sudo bash update-booth.sh '/var/www/html'
(Chang the path if needed)