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.
xiaojin bcb72b2b9a 🐳chore(库): 调整目录 5 years ago
..
app 🐳chore(库): 调整目录 5 years ago
data 🐳chore(库): 调整目录 5 years ago
psql 🐳chore(库): 调整目录 5 years ago
.busted 🐳chore(库): 调整目录 5 years ago
.env.dev 🐳chore(库): 调整目录 5 years ago
.env.prod 🐳chore(库): 调整目录 5 years ago
.env.test 🐳chore(库): 调整目录 5 years ago
.gitattributes 🐳chore(库): 调整目录 5 years ago
.gitignore 🐳chore(库): 调整目录 5 years ago
LICENSE.md 🐳chore(库): 调整目录 5 years ago
README.md 🐳chore(库): 调整目录 5 years ago
dev.sh 🐳chore(库): 调整目录 5 years ago
docker-compose.yml 🐳chore(库): 调整目录 5 years ago
prod.sh 🐳chore(库): 调整目录 5 years ago
test.sh 🐳chore(库): 调整目录 5 years ago

README.md

Lapis-chan

https://github.com/karai17/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