ueberauth / guardian_db

Guardian DB integration for tracking tokens and ensuring logout cannot be replayed.
MIT License
368 stars 87 forks source link

configure app prior to migration generation #116

Closed vetikent closed 4 years ago

vetikent commented 4 years ago

An ArgumentError occurs when trying to run mix guardian.db.gen.migration prior to configuring the app. Since I followed the README from top to bottom I attempted to generate the migration and ended up with a application was not loaded/started error:

** (ArgumentError) could not fetch application environment Guardian.DB for application :guardian because the application was not loaded/started. If your application depends on :guardian at runtime, make sure to load/start it or list it under :extra_applications in your mix.exs file

This PR clarifies the instructions.

codecov-commenter commented 4 years ago

Codecov Report

Merging #116 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   81.25%   81.25%           
=======================================
  Files           5        5           
  Lines          64       64           
=======================================
  Hits           52       52           
  Misses         12       12           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 05a2ee6...b302ec9. Read the comment docs.