-
Notifications
You must be signed in to change notification settings - Fork 0
/
comandos.yml
54 lines (37 loc) · 1.5 KB
/
comandos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
php artisan make:event nuevaActaCreada
php artisan make:listener nuevaActaCreadaEmailListener --event=nuevaActaCreada
php artisan make:listener nuevaActaCreadaAdminsListener --event=nuevaActaCreada
#crear path para usar el comando laravel
export PATH="~/.config/composer/vendor/bin:$PATH"
sudo chown -R www:www public/
chmod -R 777 public/
#permisos luego de hacer un pull
sudo chmod -Rf 0777 bootstrap/cache/
sudo chmod -Rf 0777 storage/
# colas
php artisan queue:work
php artisan queue:work --queue=mail
php artisan queue:work --queue=database
php artisan queue:work --queue=broadcast
#iniciar contenedor
docker-compose up -d --build
#comandos
docker-compose run --rm app composer install
#install jetstream
docker-compose run --rm app composer require laravel/jetstream
#instalar redis
docker-compose run --rm app composer require predis/predis
#instalar livewire
docker-compose run --rm app composer require livewire/livewire
docker-compose run --rm app npm install
docker-compose run --rm app npm run dev
docker-compose run --rm app npm run build
docker-compose run --rm artisan migrate
docker-compose run --rm artisan migrate:fresh --seed
docker-compose run --rm artisan storage:link
#certboot
#test
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d prueba.talentustechnology.com
#generate ssl cert
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d prueba.talentustechnology.com
docker compose run --rm certbot renew