Update 'README.md'

This commit is contained in:
mattronix 2023-11-02 17:34:39 +00:00
parent d7334cb0f0
commit 831094af31

View file

@ -97,7 +97,6 @@ cd printer-manager-admin
composer install composer install
sudo mysql_secure_installation sudo mysql_secure_installation
sudo mysql -u root -p sudo mysql -u root -p
CREATE DATABASE printer_manager_admin; CREATE DATABASE printer_manager_admin;
CREATE USER 'printer-manager-admin'@'localhost' IDENTIFIED BY 'your_password'; CREATE USER 'printer-manager-admin'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON printer_manager_admin.* TO 'printer-manager-admin'@'localhost'; GRANT ALL PRIVILEGES ON printer_manager_admin.* TO 'printer-manager-admin'@'localhost';
@ -110,20 +109,15 @@ 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!
``` ```