Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration #97

Merged
merged 15 commits into from
Nov 23, 2014
Merged

Migration #97

merged 15 commits into from
Nov 23, 2014

Conversation

andersoncardoso
Copy link
Member

task for migrating data from Mootiro

migrating from mootiro

  • run Intermediate redis (set a really long pass)
  • set on the server the following env vars:
export REDIS_HOST=host
export REDIS_PORT=6379
export REDIS_PASS=really long redis server password
  • run django shell
from migrate.tasks import migrate_all

migrate_all()
  • on the Meppit server set these env vars
export MOOTIRO_REDIS_HOST=host
export MOOTIRO_REDIS_PORT=6379
export MOOTIRO_REDIS_PASS=really long redis server password
  • copy all media files from Mootiro media/upload folder to Meppit public/mootiro_media
  • run the task
rake mootiro_import

WARN: sometimes the connection with redis dies, If that happens just run again the task, and it will resume
from where it stoped

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4394cd1 on migration into f7bf5f4 on master.

LuizArmesto added a commit that referenced this pull request Nov 23, 2014
@LuizArmesto LuizArmesto merged commit cf5f3f6 into master Nov 23, 2014
@LuizArmesto LuizArmesto deleted the migration branch November 23, 2014 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants