Skip to content

Files

Latest commit

9a11913 · Jun 1, 2022

History

History

devand-web

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"