- https://www.postgresql.org/download/
- On windows setup LIB for MSVC see https://msdn.microsoft.com/en-us/library/6y6t9esh.aspx
cargo install diesel_cli --no-default-features --features "postgres"
cd ecspg
diesel setup --database-url='postgresql://postgres:yourpassword@localhost/ecs'
diesel migration run
Also see https://github.com/diesel-rs/diesel/blob/master/diesel_cli/README.md
Acquire an ssl cert.
certbot certonly --webroot -w ./ -d ecs.dev.reedwolf.com -d nexus.dev.reedwolf.com --logs-dir certbot/log/ --work-dir certbot/ --config-dir certbot/conf/
sudo setcap CAP_NET_BIND_SERVICE=+eip /home/deploy_user/ecs_web/ecs
It takes environment variables. See .env as example.
./todo
cd todo cargo build --release -p todo --features https