Extend setup to support Fluxon UI installation
This commit is contained in:
@@ -64,6 +64,11 @@ The project is managed and configured via [mise-en-place](https://mise.jdx.dev):
|
|||||||
- `mise install` will pull the correct Erlang, Elixir and Node.js versions
|
- `mise install` will pull the correct Erlang, Elixir and Node.js versions
|
||||||
- `mise run dev:setup` will setup dependencies and database structure
|
- `mise run dev:setup` will setup dependencies and database structure
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> The project uses [Fluxon UI](https://fluxonui.com/), so it requires a valid
|
||||||
|
> set of credentials. See the `env` section in `mise.toml` for the required
|
||||||
|
> environment variables.
|
||||||
|
|
||||||
## Environment configuration
|
## Environment configuration
|
||||||
|
|
||||||
The application requires the following environment variables:
|
The application requires the following environment variables:
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
LAST_FM_USER = 'change-me'
|
LAST_FM_USER = 'change-me'
|
||||||
LAST_FM_API_KEY = 'change-me'
|
LAST_FM_API_KEY = 'change-me'
|
||||||
OPENAI_KEY = 'change-me'
|
OPENAI_KEY = 'change-me'
|
||||||
|
FLUXON_KEY_FINGERPRINT = 'change-me'
|
||||||
|
FLUXON_LICENSE_KEY = 'change-me'
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
hurl = 'latest'
|
hurl = 'latest'
|
||||||
@@ -66,8 +68,16 @@ description = 'Update dependencies'
|
|||||||
|
|
||||||
# SETUP
|
# SETUP
|
||||||
|
|
||||||
|
[tasks.fluxon-add-repo]
|
||||||
|
description = "Add the fluxon repo"
|
||||||
|
run = """
|
||||||
|
mix hex.repo add fluxon https://repo.fluxonui.com \
|
||||||
|
--fetch-public-key $FLUXON_KEY_FINGERPRINT \
|
||||||
|
--auth-key $FLUXON_LICENSE_KEY
|
||||||
|
"""
|
||||||
|
|
||||||
[tasks."dev:setup"]
|
[tasks."dev:setup"]
|
||||||
depends = ['npm-install']
|
depends = ['npm-install', 'fluxon-add-repo']
|
||||||
description = 'Install dependencies and setup the database'
|
description = 'Install dependencies and setup the database'
|
||||||
run = ['mix setup']
|
run = ['mix setup']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user