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 3d75af53e2 Use separate stylesheet, clean up styles il y a 5 ans
migrations Use sha hashes instead of primary key il y a 5 ans
src Use separate stylesheet, clean up styles il y a 5 ans
static Use separate stylesheet, clean up styles il y a 5 ans
templates Use separate stylesheet, clean up styles il y a 5 ans
.gitignore Initial commit il y a 5 ans
.rsyncignore Add rsyncignore il y a 5 ans
Cargo.lock Use sha hashes instead of primary key il y a 5 ans
Cargo.toml Use separate stylesheet, clean up styles 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