Commit bdf06715 authored by Curtis Adam's avatar Curtis Adam


parent 5bfea184
......@@ -25,6 +25,24 @@ Change `settings.json` or `settings_debug.json` according to your needs
## Meteor updates
A simple update to the latest Meteor version is not always possible. Please do not update Meteor to the latest version and leave this to the owners of the repository.
## Migrate a local Meteor 1.6 .cards database to Meteor 1.8
1. Make sure that you meet foolowing conditions:
- You've selected the staging branch `git checkout staging`
- Your staging branch is up to date `git pull`
- Meteor is running
- Your terminal is inside the repository **flashcards folder**
1. Move to your staging branch `git checkout staging`
1. Install the mongodb-tools: `sudo apt-get install mongo-tools`
1. Set your repository to the latest Meteor 1.6 version `git checkout 3a1751a2838ad595eda7d3ccd9e9191a3bf32271`
1. Dump your current Meteor 1.6 database `mongodump -h "localhost" --port "3001" -d "meteor" -o ~/flashcardsBackup/`
- Make sure that mongodump created the folder and files
1. Stop meteor
1. Reset the meteor configuration `meteor reset`
1. Move back to the latest staging branch version `git checkout staging`
1. Update your node packages `meteor npm install`
1. Start meteor
1. Restore your backup `mongorestore --drop -h "localhost" --port "3001" -d "meteor" ~/flashcardsBackup/meteor`
## Starting the app
Use one of the following commands inside the repository (flashcards folder), to start on localhost:
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