The backend of a gist server written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dylan Baker 66beaa59bb Show line numbers on plaintext too пре 6 година
migrations Rename Gists to Snippets пре 6 година
src Show line numbers on plaintext too пре 6 година
templates Show line numbers пре 6 година
.gitignore Initial commit пре 6 година
Cargo.lock Heroku config пре 6 година
Cargo.toml Rename пре 6 година
LICENSE Add license and readme пре 6 година
Procfile Set in Procfile пре 6 година
README.md Add license and readme пре 6 година
RustConfig Update rust config пре 6 година
diesel.toml Initial commit пре 6 година
rust-toolchain Heroku config пре 6 година

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