Update readme.md

This commit is contained in:
2025-09-21 22:37:47 +02:00
parent 3f32c8a27a
commit 74cece07e1

View File

@@ -8,10 +8,10 @@
# Install PHP
sudo add-apt-repository ppa:ondrej/php
apt update && apt upgrade
apt install php8.3 php8.3-xml php8.3-mysql php8.3-gd php8.3-zip
apt install php8.4 php8.4-xml php8.4-mysql php8.4-gd php8.4-zip php8.4-curl php8.4-mbstring
# Install NodeJS
curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh
curl -sL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh
sudo bash /tmp/nodesource_setup.sh
sudo apt install -y nodejs
@@ -20,9 +20,9 @@ cd /usr/bin/
curl -sS https://getcomposer.org/installer | sudo php
mv composer.phar composer
# Install NGINX
# Install NGINX (skip for local dev)
apt install nginx
apt install php8.3-fpm
apt install php8.4-fpm
# Install MariaDB
apt install mariadb-server
@@ -79,5 +79,9 @@ zip -r hstream_2023_11_30.zip hstream/
### Update
```bash
php artisan down && git pull && npm run build && php artisan up
php artisan down
git pull
npm run build
php artisan view:clear && php artisan optimize:clear && php artisan cache:clear && service php8.4-fpm restart
php artisan up
```