Update 'README.md'
This commit is contained in:
parent
05a3ed7b71
commit
1957b37256
1 changed files with 15 additions and 2 deletions
17
README.md
17
README.md
|
@ -80,20 +80,33 @@ Install guide for debian 11
|
||||||
### Install Commands
|
### Install Commands
|
||||||
```
|
```
|
||||||
sudo apt update
|
sudo apt update
|
||||||
apt-get install apache2 curl git unzip -y
|
apt-get install apache2 curl git unzip mariadb-server -y
|
||||||
sudo apt install lsb-release apt-transport-https ca-certificates software-properties-common -y
|
sudo apt install lsb-release apt-transport-https ca-certificates software-properties-common -y
|
||||||
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||||
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install php8.2 -y
|
sudo apt install php8.2 -y
|
||||||
php -v
|
php -v
|
||||||
sudo apt install libapache2-mod-php8.2 php8.2-mbstring php8.2-curl
|
sudo apt install libapache2-mod-php8.2 php8.2-mbstring php8.2-curl php8.2-gd php8.2-intl php8.2-odbc php8.2-mysql php8.2-pdo-sqlite php8.2-xml
|
||||||
sudo systemctl restart apache2
|
sudo systemctl restart apache2
|
||||||
cd /var/www/html/
|
cd /var/www/html/
|
||||||
git clone git@code.techinc.nl:techinc/printer-manager-admin.git
|
git clone git@code.techinc.nl:techinc/printer-manager-admin.git
|
||||||
chown -R www-data:www-data printer-manager-admin/
|
chown -R www-data:www-data printer-manager-admin/
|
||||||
printer-manager-admin
|
printer-manager-admin
|
||||||
cd printer-manager-admin
|
cd printer-manager-admin
|
||||||
|
composer install
|
||||||
|
|
||||||
|
MYSQL Commands
|
||||||
|
|
||||||
|
cp .env.example .env
|
||||||
|
|
||||||
|
php artisan key:generate
|
||||||
|
php artisan migrate
|
||||||
|
php artisan make:filament-user
|
||||||
|
|
||||||
|
apache2 change vhost
|
||||||
|
enable rewrite
|
||||||
|
enable overide htaccess file
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue