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.
cloudfreexiao 0227bd5075 🔧 build: 调整 web 后端 库 5 years ago
..
app 🔧 build: 调整 web 后端 库 5 years ago
data 🔧 build: 调整 web 后端 库 5 years ago
psql 🔧 build: 调整 web 后端 库 5 years ago
resources 🔧 build: 调整 web 后端 库 5 years ago
.busted 🔧 build: 调整 web 后端 库 5 years ago
.env.dev 🔧 build: 调整 web 后端 库 5 years ago
.env.prod 🔧 build: 调整 web 后端 库 5 years ago
.env.test 🔧 build: 调整 web 后端 库 5 years ago
.gitattributes 🔧 build: 调整 web 后端 库 5 years ago
.gitignore 🔧 build: 调整 web 后端 库 5 years ago
LICENSE.md 🔧 build: 调整 web 后端 库 5 years ago
README.md 🔧 build: 调整 web 后端 库 5 years ago
dev.sh 🔧 build: 调整 web 后端 库 5 years ago
docker-compose.yml 🔧 build: 调整 web 后端 库 5 years ago
prod.sh 🔧 build: 调整 web 后端 库 5 years ago
sass.sh 🔧 build: 调整 web 后端 库 5 years ago
test.sh 🔧 build: 调整 web 后端 库 5 years ago
ts.sh 🔧 build: 调整 web 后端 库 5 years ago
tsconfig.json 🔧 build: 调整 web 后端 库 5 years ago

README.md

Lapis-chan

Lapis-chan is a text and image board written in Lua using the Lapis web framework.

Features

To view a complete list of features, check out the Feature Set spreadsheet.

Install

Installing

$ docker-compose build

Create Cryptographic Secrets

In the secrets directory, open up both the token.lua and salt.lua files.

Secret Token

The secret token should be a random string of characters between 40 and 60 characters in length. Change CHANGE_ME to your secret token. Keep this token extremely safe, it is the backbone of security on Lapis-chan! Don't lose it, either!

Secret Salt

The secret salt should be a random string of characters exactly two characters in length. The salt can be comprised of letters, numbers, a period (".") or a slash ("\"). Change CHANGE_ME to your secret salt. This salt is not necessarily meant to be secure, but don't hand it out willy-nilly either. This is only used for generating insecure tripcodes.

Start Lapis

Now we're ready to finish the installation!

$ prod.sh