aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index bcb3b44..ceed5e5 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,22 @@ Optimize images:
```sh
magick $x.jpg -interlace Plane -quality 80 inter-$x.jpg
```
+
+Init database:
+```sh
+mkdir data
+sqlite3 data/data.db
+```
+
+```sql
+PRAGMA journal_mode=WAL;
+create table reviews (
+ name text not null,
+ content text not null
+) strict;
+```
+
+```sh
+chmod a+w data/
+chmod a+w data/data.db
+```