From 8d0f0b4e0d934d8af6c340d9e975e53bc43ab2c4 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 28 May 2020 18:32:07 -0400 Subject: clarified upgrade process and note section --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6814110..10485d5 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ $ sudo make install **Note:** v1.0.0 used sqlite3, which presented some issues. v2.0.0 uses a json structure for posts, as this will be safer on a multi-user system. When upgrading from v1.0.0 to v2.0.0, you won't be -able to save your posts without using a third-party tool to dump the `posts` table to json, and +able to save the posts without using a third-party tool to dump the `posts` table to json, and manually adjusting it to fit the expected format (which can be seen in the included `clinte.json`). -*If upgrading from v1.0.0 -> v2.0.0, do a fresh install. The following applies to upgrading when -already running at least v2.0.0* +*If upgrading from v1.0.0 -> v2.0.0, do a fresh install, including removing the database directory +`/usr/local/clinte`. The following applies to upgrading when already running at least v2.0.0* ``` $ make update @@ -111,4 +111,5 @@ Use this flag if something's going wrong. Additional information will be written ## Notes -The file where the posts are stored must be writeable by all users on the system. Keep this in mind. \ No newline at end of file +The file where the posts are stored, `/usr/local/clinte/clinte.json`, must be writeable by all +users on the system. Keep this in mind. \ No newline at end of file -- cgit 1.4.1-2-gfad0