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 c3509724e6 Grey plaintext background, header styles 5 anos atrás
migrations Rename Gists to Snippets 5 anos atrás
src Show line numbers on plaintext too 5 anos atrás
templates Grey plaintext background, header styles 5 anos atrás
.gitignore Initial commit 5 anos atrás
Cargo.lock Heroku config 5 anos atrás
Cargo.toml Rename 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