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 73850dd0e3 Set in Procfile il y a 5 ans
migrations Rename Gists to Snippets il y a 5 ans
src oops il y a 5 ans
templates Rename Gists to Snippets il y a 5 ans
.gitignore Initial commit 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