The backend of a gist server written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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