Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
c3f42690
Commit
c3f42690
authored
14 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
added celery-based async tasks
parent
dff3cb65
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.txt
+11
-0
11 additions, 0 deletions
README.txt
helios
+1
-1
1 addition, 1 deletion
helios
settings.py.sample
+12
-0
12 additions, 0 deletions
settings.py.sample
with
24 additions
and
1 deletion
README.txt
+
11
−
0
View file @
c3f42690
...
@@ -5,3 +5,14 @@ LICENSE: this code is released under the GPL v3 or later.
...
@@ -5,3 +5,14 @@ LICENSE: this code is released under the GPL v3 or later.
NEEDS:
NEEDS:
- http://github.com/openid/python-openid
- http://github.com/openid/python-openid
- rabbitmq 1.8
-- http://www.rabbitmq.com/debian.html
-- update the deb source
-- apt-get install rabbitmq-server
- celery 2.0.2 and django-celery 2.0.2 for async jobs
-- http://celeryq.org
-- apt-get install python-setuptools
-- easy_install celery
-- easy_install django-celery
This diff is collapsed.
Click to expand it.
helios
@
50eaae0e
Compare
029425d7
...
50eaae0e
Subproject commit
029425d7535a357cb81a0a6d8617ea8028495512
Subproject commit
50eaae0e1b9c30d52798d4fc65a8800a7aa19ecb
This diff is collapsed.
Click to expand it.
settings.py.sample
+
12
−
0
View file @
c3f42690
...
@@ -77,6 +77,9 @@ INSTALLED_APPS = (
...
@@ -77,6 +77,9 @@ INSTALLED_APPS = (
'django.contrib.contenttypes',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.sites',
## needed for queues
'djcelery',
## HELIOS stuff
'auth',
'auth',
'helios',
'helios',
'server_ui',
'server_ui',
...
@@ -130,3 +133,12 @@ logging.basicConfig(
...
@@ -130,3 +133,12 @@ logging.basicConfig(
format = '%(asctime)s %(levelname)s %(message)s'
format = '%(asctime)s %(levelname)s %(message)s'
)
)
# set up django-celery
BROKER_HOST = "localhost"
BROKER_PORT = 5672
BROKER_USER = "guest"
BROKER_PASSWORD = "guest"
BROKER_VHOST = "/"
import djcelery
djcelery.setup_loader()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment