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 | ||
3a438f5e WKG |
23 | 0.3.1 |
24 | ===== | |
25 | ||
9e579cde WKG |
26 | **Do this to upgrade** |
27 | ||
28 | 1. Make sure to run ``bin/gmg dbuptdate`` after upgrading. | |
29 | ||
30 | 2. If you set up your server config with an older version of | |
31 | mediagoblin and the mediagoblin docs, it's possible you don't | |
32 | have the "theme static files" alias, so double check to make | |
33 | sure that section is there if you are having problems. | |
34 | ||
35 | ||
36 | ||
37 | **New features** | |
38 | ||
39 | * **theming support** | |
40 | ||
41 | MediaGoblin now also includes theming support, which you can | |
42 | read about in the section :ref:`theming-chapter`. | |
43 | ||
44 | * **flatpages** | |
45 | ||
46 | MediaGoblin has a flatpages plugin allowing you to add pages that | |
47 | are aren't media-related like "About this site...", "Terms of | |
48 | service...", etc. | |
49 | ||
50 | See :ref:`core-plugin-section` for plugin documentation | |
3a438f5e WKG |
51 | |
52 | ||
6e930791 CAW |
53 | 0.3.0 |
54 | ===== | |
5be6425c E |
55 | |
56 | This release has one important change. You need to act when | |
57 | upgrading from a previous version! | |
58 | ||
59 | This release changes the database system from MongoDB to | |
60 | SQL(alchemy). If you want to setup a fresh instance, just | |
61 | follow the instructions in the deployment chapter. If on | |
62 | the other hand you want to continue to use one instance, | |
63 | read on. | |
64 | ||
dce37922 | 65 | To convert your data from MongoDB to SQL(alchemy), you need |
5be6425c E |
66 | to follow these steps: |
67 | ||
68 | 1. Make sure your MongoDB is still running and has your | |
69 | data, it's needed for the conversion. | |
70 | ||
abe74178 WKG |
71 | 2. Configure the ``sql_engine`` URI in the config to represent |
72 | your target database (see: :ref:`deploying-chapter`) | |
5be6425c E |
73 | |
74 | 3. You need an empty database. | |
75 | ||
76 | 4. Then run the following command:: | |
77 | ||
abe74178 | 78 | bin/gmg [-cf mediagoblin_config.ini] convert_mongo_to_sql |
5be6425c E |
79 | |
80 | 5. Start your server and investigate. | |
81 | ||
82 | 6. That's it. |