The backend of a gist server written in Rust
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Dylan Baker 40f4b62c68 Add links to binaries to homepage před 4 roky
migrations Use sha hashes instead of primary key před 4 roky
src Decode raw snippets to avoid > etc před 4 roky
static Add links to binaries to homepage před 4 roky
templates Add links to binaries to homepage před 4 roky
.gitignore Initial commit před 4 roky
.rsyncignore Add rsyncignore před 4 roky
Cargo.lock Use sha hashes instead of primary key před 4 roky
Cargo.toml Use separate stylesheet, clean up styles před 4 roky
LICENSE Add license and readme před 4 roky
Procfile Set in Procfile před 4 roky
README.md Add license and readme před 4 roky
RustConfig Update rust config před 4 roky
diesel.toml Initial commit před 4 roky
rust-toolchain Heroku config před 4 roky

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