Crowdhailer
Creator of Raxx
raxx_kit is a generator for web-applications, using Ace and Raxx.
At the moment instructions for using raxx_kit include pulling the archive from github.
$ mix archive.install https://github.com/CrowdHailer/raxx_kit/raw/master/raxx_kit.ez
This works perfectly well but it has a few, minor, downsides such as a long url and the fact the project is not discoverable on hex.pm.
I was wondering if there was anyway to pull an archive from hex. It seams like it should be easy enough to implement.
For example mix.exs could specify the path to an archive within the project.
defmodule RaxxKit.MixProject do
use Mix.Project
def project do
[
app: :raxx_kit,
archive: "./raxx_kit.ez"
# etc
]
end
end
And then mix archive.install raxx_kit could just look for the project on hex.
Thoughts, is this possible some other way or is there a good reason this would be a bad idea?
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex











Showing Posts 1 to 8- Show Best Posts
- Show All Posts (oldest first)
- Show All Posts (newest first)
NobbZ
According to
mix help archive.installyou can domix archive.install hex $package $versionwhere version is optional.Crowdhailer
Interesting. I was looking at the docs here mix archive.install — Mix v1.20.2
I probably looked too much at the code examples. I now see it says
To me this suggests I should add a url to a hex package.
Edit
Sorry I see it now.
Crowdhailer
Ok. but I do have an issue. running the following will build the archive locally, correct?
I need to build my archive with the
--include-dot-filesoption. Is it possible for me to use the command above but have my project specify that the archive should be build with the option for dotfiles.NobbZ
I can’t answer that, as I’ve not currently used an
archive.install hex,phx_newandhexare the only archives I’ve installed.hexinstalls semi-automatically once needed andphx_newpropagates installation via URL.I just read from the documentation of the task.
But I do assume, that the
hexarchive is involved in the hex-install, so lets try to ask @ericmj.ericmj
I think
archive.installshould take the same options thatarchive.builddoes or possibly that it should be possible to configure--include-dot-filesin the project config so that the flag is not needed.Crowdhailer
Are you saying it should already or that it should be changed to address this?
NobbZ
In my opinion when I pull an archive from hex I do not want to remember to add any options or switches. I just want it to work out of the box, as it were when I use an URL to a prebuilt archive.
That’s the user point of view.
ericmj
I think it should be changed to address this.
Definitely. If you could configure
--include-dot-filesin the project config it would work out of the box.