The backend of a gist server written in Rust
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 5 anos atrás
migrations Use sha hashes instead of primary key 5 anos atrás
src Decode raw snippets to avoid > etc 5 anos atrás
static Add links to binaries to homepage 5 anos atrás
templates Add links to binaries to homepage 5 anos atrás
.gitignore Initial commit 5 anos atrás
.rsyncignore Add rsyncignore 5 anos atrás
Cargo.lock Use sha hashes instead of primary key 5 anos atrás
Cargo.toml Use separate stylesheet, clean up styles 5 anos atrás
LICENSE Add license and readme 5 anos atrás
Procfile Set in Procfile 5 anos atrás
README.md Add license and readme 5 anos atrás
RustConfig Update rust config 5 anos atrás
diesel.toml Initial commit 5 anos atrás
rust-toolchain Heroku config 5 anos atrás

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