Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Hsin-Yu Chien
edx-platform-release
Commits
148ec471
Commit
148ec471
authored
13 years ago
by
David Ormsbee
Browse files
Options
Downloads
Patches
Plain Diff
document assumptions for devplus env
parent
6d3d83e3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
settings2/devplus.py
+16
-7
16 additions, 7 deletions
settings2/devplus.py
with
16 additions
and
7 deletions
settings2/devplus.py
+
16
−
7
View file @
148ec471
...
...
@@ -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
you
'
re running memcached. You
'
ll want to use this to test caching and database
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
*
DATABASES
=
{
'
default
'
:
{
'
ENGINE
'
:
'
django.db.backends.mysql
'
,
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'
NAME
'
:
'
wwc
'
,
# Or path to database file if using sqlite3.
'
USER
'
:
'
root
'
,
# Not used with sqlite3.
'
PASSWORD
'
:
''
,
# Not used with sqlite3.
'
HOST
'
:
'
127.0.0.1
'
,
# Set to empty string for localhost. Not used with sqlite3.
'
PORT
'
:
'
3306
'
,
# Set to empty string for default. Not used with sqlite3.
'
ENGINE
'
:
'
django.db.backends.mysql
'
,
'
NAME
'
:
'
wwc
'
,
'
USER
'
:
'
root
'
,
'
PASSWORD
'
:
''
,
'
HOST
'
:
'
127.0.0.1
'
,
'
PORT
'
:
'
3306
'
,
}
}
...
...
@@ -26,7 +35,7 @@ CACHES = {
'
BACKEND
'
:
'
django.core.cache.backends.memcached.MemcachedCache
'
,
'
LOCATION
'
:
'
127.0.0.1:11211
'
,
'
KEY_PREFIX
'
:
'
general
'
,
'
VERSION
'
:
3
,
'
VERSION
'
:
5
,
}
}
...
...
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