Laravel tivi
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
ricky rx eee7c263ab chore: TV > add col company name, address, street address 1 year ago
app chore: TV > add col company name, address, street address 1 year ago
bootstrap first commit 2 years ago
config chore: throw storage to false when failed to save data 2 years ago
database chore: TV > add col company name, address, street address 1 year ago
public first commit 2 years ago
resources first commit 2 years ago
routes feat: api for tv > tv page 2 years ago
storage first commit 2 years ago
tests first commit 2 years ago
.editorconfig first commit 2 years ago
.env.example refactor: change mobile-token to mobile-auth-token 2 years ago
.gitattributes first commit 2 years ago
.gitignore first commit 2 years ago
README.md doc: add simple readme 2 years ago
artisan first commit 2 years ago
composer.json chore: install storage aws 2 years ago
composer.lock chore: install storage aws 2 years ago
package.json first commit 2 years ago
phpunit.xml first commit 2 years ago
vite.config.js first commit 2 years ago

README.md

Note: if you forgot how to open readme from vs code:

  • Ctrl K + V (Side bar readme)
  • Crtl Shift V (Full size read me)

Laravel Tivi

Instalation

  • open /etc/php/8.2/fpm/php.ini

    • upload_max_filesize = 100M
    • post_max_size = 100M
  • Pull Project on server

  • Setting .env from .env.example

  • run command

    • sudo chmod -R 777 storage -> laravel storage log permission
    • php artisan storage:link -> if u use public storage in laravel, not s3
    • composer update {or} /usr/bin/php8.2 /usr/local/bin/composer update
    • php artisan migrate --seed {or} php8.2 artisan migrate --seed
    • php artisan key:generate {or} php artisan key:generate
  • note:

    • usually, cors problem cause by chmod on /storage or upload_max_filesize / post_max_size (only happen when u debug with firefox)

Update

  • open project loaction (ex: /var/www/api_tivi)
  • run command
    • git pull --all
    • composer install
    • php artisan migrate (if it has database changes)