You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
3 years ago | |
---|---|---|
jsapp | 3 years ago | |
public | 3 years ago | |
server | 3 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
README.md | 3 years ago | |
todo | 3 years ago |
README.md
piazzaoptical.com
Code for what once was piazzaoptical.com. Backend and frontend.
To use:
podman run -it --rm -p 8000:8000 docker.io/
Then:
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
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
luarocks install compat53
luarocks install cqueues
luarocks install lpeg
luarocks install lpeg_patterns
luarocks install luafilesystem
luarocks install http
luarocks install lua-cjson
luarocks install mimetypes
luarocks install lrandom
luarocks install luaprompt
luarocks install magic
luarocks install lightningmdb
luarocks install lua_uuid
luarocks install lua-vips
Finally:
git clone https://git.sakal.us/brian/piazzaoptical.com
cd piazzaoptical.com
git submodule update --init --recursive # for bitser; installed as git submodule