Last active
August 1, 2020 16:26
-
-
Save andi34/3b2c9c92ae4070e8d651aafe3990dc6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -y git php-gd gphoto2 libimage-exiftool-perl | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt update && sudo apt install -y yarn | |
sudo chown -R www-data:www-data /var/www/ | |
cd /var/www/ | |
sudo -u www-data -s | |
rm -r html/* | |
git clone https://github.com/andi34/photobooth html | |
cd /var/www/html | |
git fetch origin | |
git checkout origin/stable2 | |
git submodule update --init | |
yarn install | |
yarn build | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# quick update on git installation | |
sudo apt install -y git php-gd gphoto2 libimage-exiftool-perl | |
cd /var/www/html | |
sudo -u www-data -s | |
git fetch origin | |
git checkout origin/stable2 | |
git submodule update --init | |
yarn install | |
yarn build | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment