kaa.python
How can I compile and build a Phoenix application locally so that I can upload a compiled one to a server?
So far I’ve deployed my Phoenix application by edeliver and distillery.
However, since my local machine and a remove one both are arch linux, x64, does this mean that I can build my Phoenix application locally and upload a compiled one to my server? If so, how exactly? and what exactly will I have to upload after I’ve compiled and built it locally?
Most Liked
jwarlander
Here’s how I’ll read this:
The answer to that lies, as suggested, in Distillery.. the Walkthrough docs, as well as Use With Phoenix, are useful to get started.
Here’s a blog writeup that’s pretty detailed, too:
https://medium.com/@east5th/deploying-elixir-applications-with-distillery-f7f01d040a20
BrightEyesDavid
Why do you want to build a release without using Distillery? Using Distillery to build locally and copying the resultant tar to the server seems to be what you’re after in your original post. I use a simple bash script (after having read the intro docs that @jwarlander mentions).
Popular in Questions
Other popular topics
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
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









