Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 547 Bytes

development.md

File metadata and controls

39 lines (27 loc) · 547 Bytes

Development

Development documentation with instructions how to setup the project for local development.

Preliminary

  • Docker
# screen 1
$ docker-compose up

# screen 2
$ docker-compose exec waffle_ecto sh
$ > mix deps.get

Run tests

Tests without S3 integration

$ mix test

Common tasks

# to run linter
$ mix credo --strict

# to generate documentation
$ MIX_ENV=dev mix docs

# to publish package
$ MIX_ENV=dev mix hex.publish

# to publish only documentation
$ MIX_ENV=dev mix hex.publish docs