laravel web development skills

嵇丰
2023-12-01

1. Ubuntu build a local server

1. /etc/apache2/apache2.conf   
<Directory /home/bob/bobserver/public/>
      Options Indexes FollowSymLinks
      AllowOverride all
      Require all granted
</Directory>

2. /etc/apache2/sites-enabled/000-default.conf


DocumentRoot /home/bob/bobserver/public

3.  chown -R www-data:www-data bobserver
4.  chmod -R 777 ukserver
5.  sudo a2enmod rewrite
6.  sudo a2enmod php7.0

7.  /etc/init.d/apache2 restart


2.General aritisan commands in laravel

php artisan make:model Modelimg --migration
php artisan make:model moduleFooter --migration
php artisan migrate:fresh
php artisan DB:seed --class=RolesAndPermissionsSeeder
php artisan DB:seed




 类似资料:

相关阅读

相关文章

相关问答