Commit 41a262fb by John Jarvis

changing mongo db from wwc to edxapp

parent c5e85100
...@@ -22,7 +22,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -22,7 +22,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
'CONTENTSTORE': 'CONTENTSTORE':
'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore' 'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore'
'OPTIONS': 'OPTIONS':
'db': 'wwc' 'db': 'edxapp'
'host': [ 'localhost' ] 'host': [ 'localhost' ]
'password': 'password' 'password': 'password'
'port': 27017 'port': 27017
...@@ -32,7 +32,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -32,7 +32,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore' 'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore'
'OPTIONS': &lms_modulestore_default_options 'OPTIONS': &lms_modulestore_default_options
'collection': 'modulestore' 'collection': 'modulestore'
'db': 'wwc' 'db': 'edxapp'
'default_class': 'xmodule.hidden_module.HiddenDescriptor' 'default_class': 'xmodule.hidden_module.HiddenDescriptor'
'fs_root': '/opt/wwc/data' 'fs_root': '/opt/wwc/data'
'host': [ 'localhost' ] 'host': [ 'localhost' ]
...@@ -47,7 +47,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -47,7 +47,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
'DATABASES': 'DATABASES':
'default': 'default':
'ENGINE': 'django.db.backends.mysql' 'ENGINE': 'django.db.backends.mysql'
'NAME': 'wwc' 'NAME': 'edxapp'
'USER': 'root' 'USER': 'root'
'PASSWORD': '' 'PASSWORD': ''
# Provide the name of a host running mysql. # Provide the name of a host running mysql.
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
- name: create a database for edxapp - name: create a database for edxapp
mysql_db: > mysql_db: >
db=wwc db=edxapp
state=present state=present
encoding=utf8 encoding=utf8
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
- name: create a mongodb user - name: create a mongodb user
mongodb_user: > mongodb_user: >
database=wwc database=edxapp
name=edxapp name=edxapp
password=password password=password
state=present state=present
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment