~gbmor/clinte

69ad4de4caacb0464a17a57b42219268dad10691 — Ben Morrison 1 year, 1 month ago ad215ba
changed upgrade steps

changed refs to v2.0.0 -> v2.x
1 files changed, 4 insertions(+), 4 deletions(-)

M README.md
M README.md => README.md +4 -4
@@ 40,18 40,18 @@ $ sudo make install

## Upgrading

**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
**Note:** v1.0.0 used sqlite3, which presented some issues. v2.x uses a json structure for posts,
as this will be safer on a multi-user system. When upgrading from v1.0.0 to v2.x, you won't be
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, including removing the database directory 
*If upgrading from v1.0.0 -> v2.x, 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
$ make
$ make upgrade
$ make install
```

This will: