Skip to content

Commit 427bdf9

Browse files
committed
Added installation instructions and version numbering
1 parent 2ba3e58 commit 427bdf9

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

README.markdown

+33-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ ScribeUI
33

44
ScribeUI is an application to create mapfiles with many scale levels.
55

6-
To get the latest release, clone this repo and then checkout v0.1.2
6+
To get the latest release, clone this repo and then checkout tags/v0.2
7+
8+
*If you are updating from a previous version, please follow the migration
9+
instructions at the end of this document before checking out.*
710

811
Requirements
912
------------
@@ -84,3 +87,32 @@ In /etc/apache2/sites-enabled/ScribeUI.conf, use the following configuration
8487

8588
Note: if there are segfaults in the apache error logs after adding this config,
8689
it is fixed by restarting apache.
90+
91+
Version Update and Workspace Migration
92+
---------------------------------------
93+
94+
If you are updating your version of ScribeUI from an earlier version to 0.2,
95+
please follow these instructions:
96+
97+
* Change the owner of the database and workspace folders back to yourself:
98+
99+
sudo chown -R yourusername application/db application/workspaces
100+
101+
* Checkout the latest release of ScribeUI
102+
103+
git checkout tags/v0.2
104+
105+
* Run the update script:
106+
107+
python application/update.py
108+
109+
* Change the owner of the database and workspace back to www-data:
110+
111+
sudo chown -R www-data application/db application/workspaces
112+
113+
* (optionnal) Restart apache:
114+
115+
sudo /etc/init.d/apache2 restart
116+
117+
If you choose not to restart apache, the new version of ScribeUI might take
118+
a while to go live because of mod\_wsgi.

application/templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44

55
<meta charset="utf-8">
6-
<title>ScribeUI v0.1.2</title>
6+
<title>ScribeUI v0.2</title>
77

88
<link rel="stylesheet" href="{{ url_for('static', filename='css/reset.css') }}">
99
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery/css/scribeui/scribeui.css') }}">
@@ -43,7 +43,7 @@
4343

4444
<!-- Header-->
4545
<div class="navbar">
46-
<div id="title" class="title title-left">ScribeUI <span class="faded">v0.1.1</span></div>
46+
<div id="title" class="title title-left">ScribeUI <span class="faded">v0.2</span></div>
4747
<div id="info" class="title title-right"></div>
4848
</div>
4949

0 commit comments

Comments
 (0)