kalkatfyodor
I would like to buy Macbook Air M1. However, it is an ARM computer and not an intel computer like my Linode server which is intel architecture.
Will I have a problem when creating a final release via
MIX_ENV=prod mix release
?
Also, does Elixir and Phoenix run OK on the M1 Mac? Does any of you use M1 Mac, how is your experience?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted”
Version...
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
stefanluptak
Hi there!
I have a MacBook Air M1 and it is a fantastic machine. I encountered zero problems working with Elixir.
However, your release will not work. See mix release — Mix v1.12.3 for more info.
You can use Docker to do a cross-compilation. I build my releases with GitHub Actions that provide Ubuntu runners as it’s more a convenient way for me.
Hope it helps a bit.
kalkatfyodor
Hmm, that’s super bad. ;(
LostKobrakai
Releases were always bound to the architecture they’re built on. Even if you used mac os on an intel mac you couldn’t run releases built on it on an ubuntu host.
kalkatfyodor
And what about uploading the code to the Linode server and make a build there? How slow will the compilation process be? A minute or two? Will it slow down the server that has running website already in Phoenix? Or I can use blue green deployment with two servers if that will be a problem.
Isn’t there some cross-compilation tool by the Elixir team to mitigate this M1 Mac issue? Have they mentioned that they are working on it?
kalkatfyodor
I don’t want to use Docker. I hate it. Also I don’t host stuff on Github or gitlab, I version stuff only locally for security and legal issues. Any idea what can I do in such case? Upload the project files to the Linode server that has Erlang VM and Elixir installed and make a release build there?
hauleth
No.
You do not need Docker, you can use any other setup that will:
LostKobrakai
You could use any other virtualization tooling as well.
derek-zhou
Depends on what you want to compile. I compile the Erlang, Elixir, Emacs and my applications on my 1GB 1vCPU VPS regularly. It is doable.
tmjoen
Just to be clear, you can just build your application in Docker, extract it from the build container as a compressed archive, upload it to your host and unpack. You don’t have to run it as a Docker container on your host
dimitarvp
Yeah, exactly this, this is what we do at $job.