The backend of a gist server written in Rust
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Dylan Baker 40f4b62c68 Add links to binaries to homepage 5 年前
migrations Use sha hashes instead of primary key 5 年前
src Decode raw snippets to avoid > etc 5 年前
static Add links to binaries to homepage 5 年前
templates Add links to binaries to homepage 5 年前
.gitignore Initial commit 5 年前
.rsyncignore Add rsyncignore 5 年前
Cargo.lock Use sha hashes instead of primary key 5 年前
Cargo.toml Use separate stylesheet, clean up styles 5 年前
LICENSE Add license and readme 5 年前
Procfile Set in Procfile 5 年前
README.md Add license and readme 5 年前
RustConfig Update rust config 5 年前
diesel.toml Initial commit 5 年前
rust-toolchain Heroku config 5 年前

README.md

bngl.ws server

This is the server component of the bngl.ws pastebin service.

Running the server

With cargo and diesel installed:

$ git clone https://git.sr.ht/~simulacrumparty/bnglws-server
$ cd bnglws-server
$ echo 'DATABASE_URL=postgres://username@host/dbname' > .env;
$ diesel database setup
$ cargo run