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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
d375bd43
Commit
d375bd43
authored
11 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
tweaking settings for compatibility with heroku
parent
2d15a8e8
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
Procfile
+2
-1
2 additions, 1 deletion
Procfile
runtime.txt
+1
-0
1 addition, 0 deletions
runtime.txt
settings.py
+5
-0
5 additions, 0 deletions
settings.py
with
8 additions
and
1 deletion
Procfile
+
2
−
1
View file @
d375bd43
web: gunicorn heliosserver.wsgi:application -b 0.0.0.0:8000
web: gunicorn wsgi:application
\ No newline at end of file
worker: python manage.py celeryd -E -B --beat
\ No newline at end of file
This diff is collapsed.
Click to expand it.
runtime.txt
0 → 100644
+
1
−
0
View file @
d375bd43
python-2.7.5
This diff is collapsed.
Click to expand it.
settings.py
+
5
−
0
View file @
d375bd43
...
@@ -24,6 +24,11 @@ DATABASES = {
...
@@ -24,6 +24,11 @@ DATABASES = {
}
}
}
}
# override if we have an env variable
if
get_from_env
(
'
DATABASE_URL
'
,
None
):
import
dj_database_url
DATABASES
[
'
default
'
]
=
dj_database_url
.
config
()
# Local time zone for this installation. Choices can be found here:
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# although not all choices may be available on all operating systems.
...
...
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