Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
3c9d7b70
Commit
3c9d7b70
authored
Jan 09, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Procfile production, resque script
parent
caa5a788
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
Procfile
Procfile
+1
-1
Procfile.production
Procfile.production
+2
-0
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+1
-0
resque.sh
resque.sh
+2
-0
No files found.
Procfile
View file @
3c9d7b70
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
Procfile.production
0 → 100644
View file @
3c9d7b70
web: bundle exec rails s -p $PORT -e production
worker: bundle exec rake environment resque:work RAILS_ENV=production QUEUE=* VVERBOSE=1
app/views/layouts/admin.html.haml
View file @
3c9d7b70
...
...
@@ -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
resque.sh
0 → 100755
View file @
3c9d7b70
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment