Skip to content
Snippets Groups Projects
Commit 3c9d7b70 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Procfile production, resque script

parent caa5a788
No related branches found
No related tags found
No related merge requests found
web: bundle exec rails s -p $PORT
worker: bundle exec rake environment resque:work QUEUE=*
worker: bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
web: bundle exec rails s -p $PORT -e production
worker: bundle exec rake environment resque:work RAILS_ENV=production QUEUE=* VVERBOSE=1
Loading
Loading
@@ -22,6 +22,7 @@
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
= link_to "Teams", admin_team_members_path, :class => controller.controller_name == "team_members" ? "current" : nil
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
= link_to "Resque", "/info/resque"
 
.project-content
= yield
mkdir tmp/pids
nohup bundle exec rake environment resque:work QUEUE=* VVERBOSE=1 RAILS_ENV=production PIDFILE=tmp/pids/resque_worker_QUEUE.pid & >> log/resque_worker_QUEUE.log 2>&1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment