freedive/README.md
2024-05-13 15:32:26 +05:30

29 lines
742 B
Markdown

# Freedive
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## User management
> Every user has full access to every part of the system via Freedive,
do NOT create accounts for people you do not trust to have root access
on this machine.
### Devel
Create release:
- `mix release --overwrite`
Create account on dev server
- `_build/dev/rel/freedive/bin/freedive eval "Freedive.Release.account_create"`
Reset password for account on dev server
- `_build/dev/rel/freedive/bin/freedive eval "Freedive.Release.password_reset"`