App to generate screenshots given a CSV with a list of URLS
.env.example.php
to .env.php
.env.php
with correct info: keys, email etc/etc/apache2/sites-enabled/automation.conf
in my case)SetEnv APP_ENV production
sudo service apache2 restart
)composer install
php artisan migrate
php artisan db:seed
php artisan db:seed --class="BrowserTableSeeder"
Restarting
sudo service supervisor start
sudo supervisorctl reload
/etc/supervisor/conf.d/queue.conf
[program:queue]
command=php artisan queue:listen
directory=/home/vagrant/laravel-root/automation
stdout_logfile=/home/vagrant/laravel-root/automation/app/storage/logs/supervisor.log
redirect_stderr=true
supervisorctl
supervisor> status
supervisor> reread
queue: available
supervisor> add queue
queue: added process group
supervisor> start queue
queue: ERROR (already started)
supervisor> status
queue RUNNING pid 27174, uptime 0:00:11
Documentation for the entire framework can be found on the Laravel website.