The backend of a gist server written in Rust
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Dylan Baker 55ea1c7007 Heroku config 5 роки тому
migrations Rename Gists to Snippets 5 роки тому
src Prevent XSS 5 роки тому
templates Rename Gists to Snippets 5 роки тому
.gitignore Initial commit 5 роки тому
Cargo.lock Heroku config 5 роки тому
Cargo.toml Rename 5 роки тому
LICENSE Add license and readme 5 роки тому
Procfile Heroku config 5 роки тому
README.md Add license and readme 5 роки тому
RustConfig Heroku 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