Commit | Line | Data |
---|---|---|
5be6425c E |
1 | .. MediaGoblin Documentation |
2 | ||
3 | Written in 2012 by MediaGoblin contributors | |
4 | ||
5 | To the extent possible under law, the author(s) have dedicated all | |
6 | copyright and related and neighboring rights to this software to | |
7 | the public domain worldwide. This software is distributed without | |
8 | any warranty. | |
9 | ||
10 | You should have received a copy of the CC0 Public Domain | |
11 | Dedication along with this software. If not, see | |
12 | <http://creativecommons.org/publicdomain/zero/1.0/>. | |
13 | ||
14 | ============= | |
15 | Release Notes | |
16 | ============= | |
17 | ||
18 | This chapter has important information for releases in it. | |
19 | If you're upgrading from a previous release, please read it | |
20 | carefully, or at least skim over it. | |
21 | ||
22 | ||
6e930791 CAW |
23 | 0.3.0 |
24 | ===== | |
5be6425c E |
25 | |
26 | This release has one important change. You need to act when | |
27 | upgrading from a previous version! | |
28 | ||
29 | This release changes the database system from MongoDB to | |
30 | SQL(alchemy). If you want to setup a fresh instance, just | |
31 | follow the instructions in the deployment chapter. If on | |
32 | the other hand you want to continue to use one instance, | |
33 | read on. | |
34 | ||
dce37922 | 35 | To convert your data from MongoDB to SQL(alchemy), you need |
5be6425c E |
36 | to follow these steps: |
37 | ||
38 | 1. Make sure your MongoDB is still running and has your | |
39 | data, it's needed for the conversion. | |
40 | ||
abe74178 WKG |
41 | 2. Configure the ``sql_engine`` URI in the config to represent |
42 | your target database (see: :ref:`deploying-chapter`) | |
5be6425c E |
43 | |
44 | 3. You need an empty database. | |
45 | ||
46 | 4. Then run the following command:: | |
47 | ||
abe74178 | 48 | bin/gmg [-cf mediagoblin_config.ini] convert_mongo_to_sql |
5be6425c E |
49 | |
50 | 5. Start your server and investigate. | |
51 | ||
52 | 6. That's it. |