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