The backend of a gist server written in Rust
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 4 лет назад
migrations Use sha hashes instead of primary key 4 лет назад
src Decode raw snippets to avoid > etc 4 лет назад
static Add links to binaries to homepage 4 лет назад
templates Add links to binaries to homepage 4 лет назад
.gitignore Initial commit 4 лет назад
.rsyncignore Add rsyncignore 4 лет назад
Cargo.lock Use sha hashes instead of primary key 4 лет назад
Cargo.toml Use separate stylesheet, clean up styles 4 лет назад
LICENSE Add license and readme 4 лет назад
Procfile Set in Procfile 4 лет назад
README.md Add license and readme 4 лет назад
RustConfig Update rust config 4 лет назад
diesel.toml Initial commit 4 лет назад
rust-toolchain Heroku config 4 лет назад

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