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
148ec471
Commit
148ec471
authored
Mar 23, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document assumptions for devplus env
parent
6d3d83e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
settings2/devplus.py
+16
-7
No files found.
settings2/devplus.py
View file @
148ec471
...
@@ -3,17 +3,26 @@ This config file tries to mimic the production environment more closely than the
...
@@ -3,17 +3,26 @@ This config file tries to mimic the production environment more closely than the
normal dev.py. It assumes you're running a local instance of MySQL 5.1 and that
normal dev.py. It assumes you're running a local instance of MySQL 5.1 and that
you're running memcached. You'll want to use this to test caching and database
you're running memcached. You'll want to use this to test caching and database
migrations.
migrations.
Assumptions:
* MySQL 5.1 (version important -- askbot breaks on 5.5)
Dir structure:
/envroot/
/mitx # The location of this repo
/log # Where we're going to write log files
"""
"""
from
dev
import
*
from
dev
import
*
DATABASES
=
{
DATABASES
=
{
'default'
:
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
'wwc'
,
# Or path to database file if using sqlite3.
'NAME'
:
'wwc'
,
'USER'
:
'root'
,
# Not used with sqlite3.
'USER'
:
'root'
,
'PASSWORD'
:
''
,
# Not used with sqlite3.
'PASSWORD'
:
''
,
'HOST'
:
'127.0.0.1'
,
# Set to empty string for localhost. Not used with sqlite3.
'HOST'
:
'127.0.0.1'
,
'PORT'
:
'3306'
,
# Set to empty string for default. Not used with sqlite3.
'PORT'
:
'3306'
,
}
}
}
}
...
@@ -26,7 +35,7 @@ CACHES = {
...
@@ -26,7 +35,7 @@ CACHES = {
'BACKEND'
:
'django.core.cache.backends.memcached.MemcachedCache'
,
'BACKEND'
:
'django.core.cache.backends.memcached.MemcachedCache'
,
'LOCATION'
:
'127.0.0.1:11211'
,
'LOCATION'
:
'127.0.0.1:11211'
,
'KEY_PREFIX'
:
'general'
,
'KEY_PREFIX'
:
'general'
,
'VERSION'
:
3
,
'VERSION'
:
5
,
}
}
}
}
...
...
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