"How to use" info
parent
7a0962831b
commit
b18a10ac14
@ -1,3 +1,46 @@
|
||||
# piazzaoptical.com
|
||||
|
||||
Code for what once was piazzaoptical.com. Backend and frontend.
|
||||
|
||||
## To use:
|
||||
|
||||
```bash
|
||||
podman run -it --rm -p 8000:8000 docker.io/
|
||||
```
|
||||
|
||||
Then:
|
||||
|
||||
```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
|
||||
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:
|
||||
|
||||
```bash
|
||||
git clone https://git.sakal.us/brian/piazzaoptical.com
|
||||
cd piazzaoptical.com
|
||||
git submodule update --init --recursive # for bitser; installed as git submodule
|
||||
```
|
Loading…
Reference in New Issue