9 ms·
Maybe this isn't the best place for feedback, but I was inspired to give this a go. Sadly it didn't work out. First error was: sh: line 1: Application: comma
by hiisukun 2y ago
Maybe this isn't the best place for feedback, but I was inspired to give this a go. Sadly it didn't work out. First error was:
sh: line 1: Application: command not found
By visiting https://new.phoenixframework.org/test-elixir-app https://new.phoenixframework.org/test-elixir-app, I could see the proper output:
Application name must start with a letter and have only lowercase letters, numbers and underscore
So I changed to test_elixir_app, and got this output:
downloading https://github.com/elixir-lang/elixir/releases/download/v1.17.3/elixir-otp-27.zip
fedora is not supported
This was a spur of the moment thing, so maybe I'll try from an Ubuntu machine or something another time, but the friction was unfortunate. Grats on the launch though, the demo gif of using the project installer looked great.
- chrismccord 2y agoI will see if we can do something about fedora, but we now convert hyphens to underscores because I'm sure that will trip more folks up – thanks! For fedora, Elixir has instructions on their site: sudo dnf install elixir erlang https://elixir-lang.org/install.html https://elixir-lang.org/install.html I'd love to make it work for elixir install if we can though :)
- cess11 2y agoI generally recommend using ASDF to install Erlang/Elixir, it has support for Fedora. https://asdf-vm.com/guide/getting-started.html https://asdf-vm.com/guide/getting-started.html https://github.com/asdf-vm/asdf-erlang https://github.com/asdf-vm/asdf-erlang https://github.com/asdf-vm/asdf-elixir https://github.com/asdf-vm/asdf-elixir Slightly more ceremony than curl | sh, but a good tool to have.
- cassepipe 2y agoWhat does "support for Fedora" means in this context ?
- xelamonster 2y agoIt supports most OSes rather nicely, check the docs for a long list of config options. It creates a local package store and configures your user's path for it, each tool is managed with a custom plugin that IME works flawlessly and versions are handled better than anything else I've ever used. It's the only way I'll install Golang or NodeJS lately, and I had good luck with it for Java too.
- cess11 2y agoI prefer sdkman.io for the JVM, has most of the things for stuff that runs on it in one place, including Clojure tooling and Quarkus and whatnot.
- xelamonster 2y agoAh cool, maybe I'll check it out someday. JVM isn't a huge part of my daily work though so I'm pretty happy having it managed the same way as everything else for now. I like the intuitive simplicity of a .tool-versions file in a repo that supports a huge variety of tools.
- cess11 2y agoDependencies are in dnf, should just work with the common shells.
- ashconnor 2y agoMise also has support https://mise.jdx.dev/ https://mise.jdx.dev/
- jdxcode 2y agomise should get precompiled erlang on macos today too
- abrookewood 2y agoI think Mise is better than ASDF - they have a whole document on why their approach is better than the shims used by ASDF. Both seem fine though.
- cess11 2y agoHow does it handle the wx stuff and whatnot that's required for Observer? Seems to have more project management and make-like capabilities, I can see why someone might find that attractive but it's not for me.