Analytical tool for Angel's daily information
The Laravel framework has a few system requirements:
- PHP >= 5.4
- MCrypt PHP Extension
- GD PHP Extension
- Composer
- MySql >=5.x
You may need to grant the web server write permissions to the app/storage directories
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Install packages for the first time
composer install
Run a webserver at default 8000 port. Ctrl+C to stop it
php artisan serve
[local]
php artisan queue:listen --queue=default --delay=0 --memory=128 --tries=0 --env=local
[staging]
php artisan queue:listen --queue=default --delay=0 --memory=128 --tries=0 --env=staging
[production]
php artisan queue:listen --queue=default --delay=0 --memory=128 --tries=2 --env=production
CREATE DATABASE `akazoho` CHARACTER SET utf8 COLLATE utf8_unicode_ci;
CREATE DATABASE `akazohoUsers` CHARACTER SET utf8 COLLATE utf8_unicode_ci;
User: homestead
Password: secret
composer dump-autoload
php artisan migrate:refresh --seed
gem install capistrano
gem install capistrano-composer
gem install capistrano-linked-files
composer update
composer dump-autoload
php artisan queue:listen
php ./vendor/bin/php-cs-fixer fix app/controllers/ --level=psr2
cd PATH/TO/root_dir
npm install
grunt cssmin
[AWS]
cp /usr/share/zoneinfo/Japan /etc/localtime
vi /etc/php.ini
;date.timezone = → date.timezone = Asia/Tokyo
restart
git status
git add <file name> <file name> <file name>
git commit -m "<commit message>"
git push
git pull