See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| # -----------------( Terminal ) ------------------- | |
| cd /path/to/project/directory | |
| sudo usermod -aG www-data $(whoami) # use 'webapp' instead of 'www-data' if you are using AWS | |
| sudo chown -R $(whoami):www-data . | |
| sudo find . -type f -exec chmod 0664 {} \; | |
| sudo find . -type d -exec chmod 0775 {} \; | |
| sudo chmod -R g+s . | |
| sudo vi /etc/apache2/sites-available/example.local.conf | |
| sudo a2ensite example.local.conf |
See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Facades\Blade; | |
| use Illuminate\Support\ServiceProvider; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| /** |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.2/vue.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>Vue V-Model On Custom Component</title> | |
| </head> | |
| <body> | |