The backend of a gist server written in Rust
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Dylan Baker 52ebbc1774 Add rsyncignore il y a 5 ans
migrations Rename Gists to Snippets il y a 5 ans
src Explicit 404 page il y a 5 ans
templates Grey pre background on index il y a 5 ans
.gitignore Initial commit il y a 5 ans
.rsyncignore Add rsyncignore il y a 5 ans
Cargo.lock Heroku config il y a 5 ans
Cargo.toml Rename il y a 5 ans
LICENSE Add license and readme il y a 5 ans
Procfile Set in Procfile il y a 5 ans
README.md Add license and readme il y a 5 ans
RustConfig Update rust config il y a 5 ans
diesel.toml Initial commit il y a 5 ans
rust-toolchain Heroku config il y a 5 ans

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