better formating

This commit is contained in:
mattronix 2023-11-02 17:46:14 +00:00
parent 831094af31
commit fbed56d253

View file

@ -103,21 +103,30 @@ GRANT ALL PRIVILEGES ON printer_manager_admin.* TO 'printer-manager-admin'@'loca
FLUSH PRIVILEGES; FLUSH PRIVILEGES;
exit; exit;
cp .env.example .env cp .env.example .env
```
vim .env (edit the db config) vim .env (edit the db config)
```
php artisan key:generate php artisan key:generate
php artisan migrate php artisan migrate
php artisan make:filament-user php artisan make:filament-user
```
```
vim /etc/apache2/sites-enabled/000-default.conf (set DocumentRoot /var/www/html/printer-manager-admin/public) vim /etc/apache2/sites-enabled/000-default.conf (set DocumentRoot /var/www/html/printer-manager-admin/public)
vim /etc/apache2/apache2.conf add the following: vim /etc/apache2/apache2.conf
```
add the following:
```
<Directory /var/www/html/printer-manager-admin/public> <Directory /var/www/html/printer-manager-admin/public>
Options Indexes FollowSymLinks Options Indexes FollowSymLinks
AllowOverride All AllowOverride All
Require all granted Require all granted
</Directory> </Directory>
```
Then Run: Then Run:
```
a2en enable rewrite a2en enable rewrite
systemctl restart apache2 systemctl restart apache2
You are good to go!
``` ```
You are good to go!