diff --git a/README.md b/README.md index 8590f18..367a542 100644 --- a/README.md +++ b/README.md @@ -5,22 +5,21 @@ Code for what once was piazzaoptical.com. Backend and frontend. ## To use: ```bash -podman run -it --rm -p 8000:8000 docker.io/ +podman run -it --rm -p 8000:8000 docker.io/library/alpine:3.14 # v3.15 can't seem to work with package "bsd-compat-headers" ``` -Then: +Then within the container: ```bash -apt update -apt install m4 libssl-dev -apt install libmagic-dev uuid-dev liblmdb-dev -apt install git # for lua_uuid -luarocks install luarocks-fetch-gitrec # for magic -apt install libreadline-dev # for luaprompt +apk add --no-cache build-base bsd-compat-headers m4 openssl-dev libmagic libuuid lmdb lmdb-dev git readline-dev autoconf automake libtool zlib-dev vips ncurses wget unzip openssl bash git config --global url."https://".insteadOf git:// # for luarocks pulling from github; it uses unencrypted -apt install autoconf libtool libz-dev # for magic -apt install libvips42 && ln -s /usr/lib/x86_64-linux-gnu/libvips.so.42 /usr/lib/x86_64-linux-gnu/libvips.so -apt install lua5.1 # for cqueues +git clone https://git.sakal.us/brian/luaver.git ~/.luaver +bash +``` + +Then in `bash` shell (not the default `ash`): + +```bash luarocks install compat53 luarocks install cqueues luarocks install lpeg