Commit dd4a1f51 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

doc: explain how to start from scratch

parent 757cd008d8a8
......@@ -27,6 +27,23 @@ which is a numeric index denoting the exact change leading to a given
version.
# Starting with a fresh database
You need a postgresql database. You can create one like this:
```shell
createdb mydb
```
Then, initialize the `tshistory` tables, like this:
```python
tsh init-db postgresql://me:password@localhost/mydb
```
From this you're ready to go !
# Basic usage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment