Skip to content

Instantly share code, notes, and snippets.

@moradi-morteza
Last active August 1, 2020 14:05
Show Gist options
  • Save moradi-morteza/b7c5e45d7558d60663c3542f966ca793 to your computer and use it in GitHub Desktop.
Save moradi-morteza/b7c5e45d7558d60663c3542f966ca793 to your computer and use it in GitHub Desktop.
Laravel To Serve
laravel new blog
laravel new blog --auth // with auth
php artisan key:generate
composer insall
composer dump-autoload
npm install
npm run dev
composer require laravel/ui
php artisan ui vue --auth
sudo ufw status
sudo ufw allow 8030/tcp
ln -s /etc/nginx/sites-available/bambboapp /etc/nginx/sites-enabled/
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
sudo chmod -R 0777 storage
sudo chmod -R 775 public/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment