An open API service indexing awesome lists of open source software.

https://github.com/wldyslw/wanderer-server

Personal blog backend written in Rust
https://github.com/wldyslw/wanderer-server

blog diesel-rs postgresql rocket-rs rust

Last synced: about 1 year ago
JSON representation

Personal blog backend written in Rust

Awesome Lists containing this project

README

          

# Wanderer-Server

Blog written in Rust with help of Rocket and Diesel (because I can).

## Deployment

Project requires Docker.

```bash
# create .env file with required variables (replace values below with your own)
# ADMIN_USERNAME is optional, default value is "Admin"
# ROCKET_ENV is also optional, default value is "dev"

echo "ROCKET_ENV=prod \
POSTGRES_PASSWORD=12345678 \
ADMIN_USERNAME=\"John Doe\" \
ADMIN_PASSWORD=12345678" > .env

# run the application
docker-compose up
```