The backend of a gist server written in Rust
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 5 gadus atpakaļ
migrations Use sha hashes instead of primary key 5 gadus atpakaļ
src Decode raw snippets to avoid > etc 5 gadus atpakaļ
static Add links to binaries to homepage 5 gadus atpakaļ
templates Add links to binaries to homepage 5 gadus atpakaļ
.gitignore Initial commit 5 gadus atpakaļ
.rsyncignore Add rsyncignore 5 gadus atpakaļ
Cargo.lock Use sha hashes instead of primary key 5 gadus atpakaļ
Cargo.toml Use separate stylesheet, clean up styles 5 gadus atpakaļ
LICENSE Add license and readme 5 gadus atpakaļ
Procfile Set in Procfile 5 gadus atpakaļ
README.md Add license and readme 5 gadus atpakaļ
RustConfig Update rust config 5 gadus atpakaļ
diesel.toml Initial commit 5 gadus atpakaļ
rust-toolchain Heroku config 5 gadus atpakaļ

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