Skip to content

wldyslw/wanderer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wanderer-Server

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

Deployment

Project requires Docker.

# 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