Commit ca2fb3bf authored by Jochen Kupperschmidt's avatar Jochen Kupperschmidt Committed by Jakub Jirutka

Readme: Improve formatting

parent bb5bcd48
......@@ -6,16 +6,18 @@ This application makes use of the [Turbo](http://turbolua.org) (Lua) framework.
On Alpine Linux it should be enough to install turbo and deps by:
```
apk add luajit lua5.1 lua-turbo lua-sqlite lua-lustache lua-socket lua-lzmq lua-gversion
```
Copy config.sample.lua to config.lua and edit it.
You can start the application by starting ./aports.lua or on Alpine Linux with turbo's init.d (see conf.d/turbo for settings)
Copy `config.sample.lua` to `config.lua` and edit it.
You can start the application by starting `./aports.lua` or on Alpine Linux with turbo's init.d (see `conf.d/turbo` for settings).
#### Creating/updating the database
aports-turbo uses an sqlite database which is generated (check config to init tables) and updated by import.lua found in the tools directory. import.lua needs to be run from the root of aports-turbo project. You can for example run it from cron by creating a file like:
aports-turbo uses an SQLite database which is generated (check config to init tables) and updated by `import.lua` found in the tools directory. `import.lua` needs to be run from the root of aports-turbo project. You can for example run it from cron by creating a file like:
/etc/periodic/15min/alpine-turbo
/etc/periodic/15min/alpine-turbo:
```shell
#!/bin/sh
......
Markdown is supported
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