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 6 yıl önce
migrations Use sha hashes instead of primary key 6 yıl önce
src Decode raw snippets to avoid > etc 6 yıl önce
static Add links to binaries to homepage 6 yıl önce
templates Add links to binaries to homepage 6 yıl önce
.gitignore Initial commit 6 yıl önce
.rsyncignore Add rsyncignore 6 yıl önce
Cargo.lock Use sha hashes instead of primary key 6 yıl önce
Cargo.toml Use separate stylesheet, clean up styles 6 yıl önce
LICENSE Add license and readme 6 yıl önce
Procfile Set in Procfile 6 yıl önce
README.md Add license and readme 6 yıl önce
RustConfig Update rust config 6 yıl önce
diesel.toml Initial commit 6 yıl önce
rust-toolchain Heroku config 6 yıl önce

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