Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3dd93102
Commit
3dd93102
authored
Aug 27, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs on running with gunicorn
parent
77029076
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/development.md
+12
-0
No files found.
doc/development.md
View file @
3dd93102
...
@@ -99,3 +99,15 @@ Note that the gitreload-based workflow is not meant for deployments on AWS (or e
...
@@ -99,3 +99,15 @@ Note that the gitreload-based workflow is not meant for deployments on AWS (or e
Also, the gitreload feature needs MITX_FEATURES
[
'ENABLE_LMS_MIGRATION'
]
= True in the django settings.
Also, the gitreload feature needs MITX_FEATURES
[
'ENABLE_LMS_MIGRATION'
]
= True in the django settings.
## Running under gunicorn
If you need to develop something specific to our production setup, you may need to run under gunicorn locally. It's simple:
$ pip install gunicorn
$ gunicorn_django -b 127.0.0.1:8000 -w 4 --pythonpath=. --settings=lms.envs.dev
The
`-w 4`
specifies the number of worker threads.
gunicorn won't serve static files like the django-admin site will, so if you need that, you'll also need to set up nginx and run collectstatic.
### Installing nginx : TODO ???
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