Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 453 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 453 Bytes

DevAndDev WWW

Development

A postgres database is needed. It can be created with docker:

docker run --rm -it -e POSTGRES_PASSWORD=password -e POSTGRES_DB=devand -p 5432:5432 postgres

Database url must be set, by environmental variable or using dotenv:

DATABASE_URL=postgres://postgres:password@localhost/devand >> .env

To launch the server for development (autoreload), just run:

cargo watch -x "run"