Review&Publish open source hardware
During development:
mix eval 'OSHRePub.Release.create_account("admin@example.eu", "Admin", "password", [:admin])'During production:
/path/to/oshrepub/bin/oshrepub eval 'OSHRePub.Release.create_account("admin@example.eu", "Admin", "password", [:admin])'Use nil (no double quotes) instead of "password" to have a password be automatically generated and displayed (once).
Requires environment variable DEV_ACCOUNTS_PASSWORD to be set. Not available in production.
mix eval 'OSHRePub.Dev.create_accounts()'