DEVELOPMENT ENVIRONMENT

~liljamo/ulairi

ref: e78be1f39347874c13c8ff1c08025ec375b5e928 ulairi/ulairi-api/README.md -rw-r--r-- 297 bytes
e78be1f3Jonni Liljamo I lost the old commit history... 1 year, 11 months ago

#Template

Install diesel:

  • cargo install diesel_cli --no-default-features --features "postgres"

Run migrations:

  • diesel migration run

Edit .env:

  • JWT_KEY = tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; echo ''
  • DATABASE_URL = postgres connection string, ideally running on localhost!