diff --git a/tracks/doc/manual.html b/tracks/doc/manual.html index f0bd8821..9f591444 100644 --- a/tracks/doc/manual.html +++ b/tracks/doc/manual.html @@ -14,7 +14,7 @@ http://creativecommons.org/licenses/by-nc-sa/3.0/" /> - +
TODO: Instructions for upgrading from a version earlier than 1.043
- -This should be a relatively straightforward, and involves the following main steps:
@@ -221,12 +219,33 @@ http://creativecommons.org/licenses/by-nc-sa/3.0/" />Once you’re certain that your new Tracks 1.5 installation is working perfectly, you can delete your old Tracks directory.
+The best option for versions prior to 1.043 is to follow the instructions below to upgrade to version 1.043, then use the instructions above to upgrade from version 1.043.
+ +config/environment.rb and look at the last line which should read: SALT = "change-me". Change the word change-me to something else of your choosing. This string will be used as a ‘salt’ to encrypt your password and make it a bit more secure. Also look at the timezone setting at the bottom. You can leave it commented out if your server is in the same time zone as you, but you may need to adjust it if your server is in a different time zone.database.yml insert your old database name, user and password under the ‘development’ section. If you are using SQLite3 rather than MySQL or PostgreSQL, you need only the database name, and to change the ‘adapter’ line to ‘sqlite3’. You also need to copy (NOT MOVE!), your SQLite3 database from your tracks-old db directory to your new tracks db directoryrake extract_fixtures inside the Tracks directory. This will populate the db/exported_fixtures directory with *.yml files corresponding to the contexts, projects and todos table from the contents of your old database.db/exported_fixtures/todos.yml and search for the lines starting created: and replace with created_at:. If you are using SQLite3, you also need to change the following: done: "0" with done: "f" and done: "1" with done: "t". You need to replace the similar ‘done’ lines in projects.yml, and in contexts.yml replace hide: "0" with hide: "f" and hide: "1" with hide: "t".database.yml insert this new database name, user and password under the ‘development’ and ‘production’ sections. If you are using SQLite3, insert a new name for a database to hold your Tracks 1.043 data.rake db_schema_import inside the Tracks directory. This should import the upgraded schema for 1.043 into your new database.rake load_exported_fixtures which will import the contents of your old database from the fixtures files in db/exported_fixtures.#!/usr/bin/env ruby)2 of the /public/dispatch.* files and all the files in the /script directory. They are set to #!/usr/bin/env ruby by default. Check the format of those lines in your old installation, and change the new ones as necessary.script/server to make sure that all your data has migrated successfully. If all is well, follow the instructions above to upgrade from version 1.043 to Tracks 1.5The env binary helps to locate other binaries, regardless of their location. If you don’t have env installed, you’ll need to change this line to point to the location of your Ruby binary. ↩
The env binary helps to locate other binaries, regardless of their location. If you don’t have env installed, you’ll need to change this line to point to the location of your Ruby binary. ↩