|
2 | 2 |
|
3 | 3 |
|
4 | 4 | 1. Clone project |
5 | | -create storage directory and storage/app, storage/cache, storage/framework & storage/logs directories |
6 | | -chmod -R 777 storage |
7 | | -chmod -R 777 bootstrap/cache |
8 | | -php72 /usr/bin/composer install or php72 /usr/bin/composer update |
9 | | -php72 artisan storage: |
10 | | -update .env |
11 | | -php72 artisan --version |
12 | | -php72 artisan cache:clear |
13 | | -php72 artisan route:clear |
14 | | -php72 artisan route:list |
15 | | -copy-paste .htaccess & .htpasswd (if it's necessary) |
16 | | -php72 artisan migrate:refresh --seed |
| 5 | +- create storage directory and storage/app, storage/cache, storage/framework & storage/logs directories |
| 6 | +- chmod -R 777 storage |
| 7 | +- chmod -R 777 bootstrap/cache |
| 8 | +- php /usr/bin/composer install or php72 /usr/bin/composer update |
| 9 | +- php artisan storage: |
| 10 | +- update .env |
| 11 | +- php artisan --version |
| 12 | +- php artisan cache:clear |
| 13 | +- php artisan route:clear |
| 14 | +- php artisan route:list |
| 15 | +- copy-paste .htaccess & .htpasswd (if it's necessary) |
| 16 | +- php artisan migrate:refresh --seed |
17 | 17 |
|
18 | 18 | 2. How to install |
19 | | -cd /data/www/{username} |
20 | | -php72 /usr/bin/composer global require "laravel/installer" (if Laravel isn’t installed) |
21 | | -php72 /usr/bin/composer create-project --prefer-dist laravel/laravel {project_name} (. install in cur. folder) |
22 | | -cd /data/www/{username}/{project_name} |
23 | | -php72 /usr/bin/composer install |
24 | | -php72 artisan storage: |
| 19 | +- cd /data/www/{username} |
| 20 | +- php /usr/bin/composer global require "laravel/installer" (if Laravel isn’t installed) |
| 21 | +- php /usr/bin/composer create-project --prefer-dist laravel/laravel {project_name} (. install in cur. folder) |
| 22 | +- cd /data/www/{username}/{project_name} |
| 23 | +- php /usr/bin/composer install |
| 24 | +- php artisan storage: |
25 | 25 |
|
26 | | -chmod -R 777 storage |
27 | | -chmod -R 777 bootstrap/cache |
| 26 | +- chmod -R 777 storage |
| 27 | +- chmod -R 777 bootstrap/cache |
28 | 28 |
|
29 | | -php72 artisan --version |
30 | | -php72 artisan cache:clear |
31 | | -php72 artisan route:clear |
32 | | -php72 artisan route:list |
| 29 | +- php artisan --version |
| 30 | +- php artisan cache:clear |
| 31 | +- php artisan route:clear |
| 32 | +- php72 artisan route:list |
33 | 33 |
|
34 | 34 | Install phpMyAdmin in public/ directory |
0 commit comments