From 95848b752dd9617bd57cf0a3bb69996b29fac682 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 27 Aug 2008 13:02:11 -0700 Subject: [PATCH] Added USB drive support. --- INSTALL | 9 +++++++++ NEWS | 2 ++ README | 24 ++++++++++++++++++++++++ setup.py | 1 + tools/usb_luminotes.bat | 4 ++++ 5 files changed, 40 insertions(+) create mode 100644 tools/usb_luminotes.bat diff --git a/INSTALL b/INSTALL index d6fd49d..f528f94 100644 --- a/INSTALL +++ b/INSTALL @@ -47,6 +47,15 @@ This will run the local Luminotes web server and automatically launch a web browser so you can use Luminotes. You don't need to create an account or login. Just start creating a wiki. +In case you're curious, your notes are stored in the ~/.luminotes directory. + +If you'd like to run Luminotes from a USB drive, manually copy the entire +Luminotes directory to a USB drive. Then, run usb_luminotes.sh from the USB +drive. Your Luminotes data will be stored on the USB drive instead of on the +computer itself: + + tools/usb_luminotes.sh + If you're only interested in Luminotes Desktop, you can stop reading here. The rest of this document describes Luminotes Server. diff --git a/NEWS b/NEWS index 7f417e1..617d49b 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ * Completed the Luminotes Desktop Windows installer. * Improved logging, so tracebacks in production and desktop mode actually go to a file. Also removed logs on startup to prevent endless log growth. + * Added a usb_luminotes.bat Windows batch file and a usb_luminotes.sh shell + file to run Luminotes from a USB drive. * Moved "files" directory into ~/.luminotes or %APPDATA%\Luminotes. * NOTE: After upgrading to this release, you must move your Luminotes "files" directory into ~/.luminotes/ or you will not be able to access diff --git a/README b/README index 1539ac0..a233fa1 100644 --- a/README +++ b/README @@ -3,13 +3,33 @@ ideas. For more information, see: http://luminotes.com/ + +Windows XP +---------- + To start Luminotes Desktop on Windows XP, just click the Start button, click on "All Programs", and then click on "Luminotes". If you see a Windows Security Alert about blocking Luminotes, click the "Unblock" button. +In case you're curious, your notes and attached files are stored within the +%APPDATA%\Luminotes folder in a database file. + +If you'd like to run Luminotes from a USB drive, install Luminotes Desktop and +then manually copy the whole \Program Files\Luminotes folder to a USB drive. +Then, run usb_luminotes.bat from the USB drive. Your Luminotes data will be +stored on the USB drive instead of on the computer itself. + + +Linux / Mac OS X / BSD +---------------------- + To start Lumintoes Desktop or Server on Linux or Mac OS X, please see the INSTALL file. + +User Guide +---------- + The Luminotes User Guide explains how to use Luminotes and even includes some tips on creating your wiki. You can check it out at: @@ -17,6 +37,10 @@ tips on creating your wiki. You can check it out at: Enjoy! + +Copyright +--------- + Luminotes Copyright (C) 2007-2008 Dan Helfman This program is free software: you can redistribute it and/or modify diff --git a/setup.py b/setup.py index d3c9677..1029ccc 100755 --- a/setup.py +++ b/setup.py @@ -241,6 +241,7 @@ data_files = [ ( "", [ "README%s" % txt_extension, ] ), ( "", [ "COPYING%s" % txt_extension, ] ), ( "", [ "luminotes.db", ] ), + ( "", [ "tools/usb_luminotes.bat" ] ), ( "static/css", files( "static/css/*.*" ) ), ( "static/html", files( "static/html/*.*" ) ), ( "static/images", files( "static/images/*.*", excludes = [ diff --git a/tools/usb_luminotes.bat b/tools/usb_luminotes.bat new file mode 100644 index 0000000..214e838 --- /dev/null +++ b/tools/usb_luminotes.bat @@ -0,0 +1,4 @@ +@echo off + +set APPDATA=. +luminotes.exe -l