The backend of a gist server written in Rust
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 5 år sedan
migrations Use sha hashes instead of primary key 5 år sedan
src Decode raw snippets to avoid > etc 5 år sedan
static Add links to binaries to homepage 5 år sedan
templates Add links to binaries to homepage 5 år sedan
.gitignore Initial commit 5 år sedan
.rsyncignore Add rsyncignore 5 år sedan
Cargo.lock Use sha hashes instead of primary key 5 år sedan
Cargo.toml Use separate stylesheet, clean up styles 5 år sedan
LICENSE Add license and readme 5 år sedan
Procfile Set in Procfile 5 år sedan
README.md Add license and readme 5 år sedan
RustConfig Update rust config 5 år sedan
diesel.toml Initial commit 5 år sedan
rust-toolchain Heroku config 5 år sedan

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