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 52ebbc1774 Add rsyncignore 5 yıl önce
migrations Rename Gists to Snippets 5 yıl önce
src Explicit 404 page 5 yıl önce
templates Grey pre background on index 5 yıl önce
.gitignore Initial commit 5 yıl önce
.rsyncignore Add rsyncignore 5 yıl önce
Cargo.lock Heroku config 5 yıl önce
Cargo.toml Rename 5 yıl önce
LICENSE Add license and readme 5 yıl önce
Procfile Set in Procfile 5 yıl önce
README.md Add license and readme 5 yıl önce
RustConfig Update rust config 5 yıl önce
diesel.toml Initial commit 5 yıl önce
rust-toolchain Heroku config 5 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