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