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 75c3a6e1d3 Tweak some styling il y a 6 ans
migrations Use sha hashes instead of primary key il y a 6 ans
src Move /static to /assets il y a 6 ans
static Tweak some styling il y a 6 ans
templates Tweak some styling il y a 6 ans
.gitignore Initial commit il y a 6 ans
.rsyncignore Add rsyncignore il y a 6 ans
Cargo.lock Use sha hashes instead of primary key il y a 6 ans
Cargo.toml Use separate stylesheet, clean up styles il y a 6 ans
LICENSE Add license and readme il y a 6 ans
Procfile Set in Procfile il y a 6 ans
README.md Add license and readme il y a 6 ans
RustConfig Update rust config il y a 6 ans
diesel.toml Initial commit il y a 6 ans
rust-toolchain Heroku config il y a 6 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