The backend of a gist server written in Rust
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 5 роки тому
migrations Use sha hashes instead of primary key 5 роки тому
src Decode raw snippets to avoid > etc 5 роки тому
static Add links to binaries to homepage 5 роки тому
templates Add links to binaries to homepage 5 роки тому
.gitignore Initial commit 5 роки тому
.rsyncignore Add rsyncignore 5 роки тому
Cargo.lock Use sha hashes instead of primary key 5 роки тому
Cargo.toml Use separate stylesheet, clean up styles 5 роки тому
LICENSE Add license and readme 5 роки тому
Procfile Set in Procfile 5 роки тому
README.md Add license and readme 5 роки тому
RustConfig Update rust 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