lastday4you
Virtual environment for phoenix
I used to use virtual environment in python to separate django version but do we have anything similar in phoenix/elixir. I want to install latest phoenix cli for my new project but i still have old project that i want to keep the old cli at the moment.
Marked As Solved
NobbZ
Again, if you are in a phoenix 1.2 project and do mix phoenix.gen.whatever it will use the generators of the recently pulled phoenix 1.2.
If you are in a phoenix 1.3 project and do mix phx.gen.whatever it will use the generators of the recently pulled phoenix 1.3.
This would even work if if 1.3 were still using phoenix as a prefix for its tasks.
This does work independently of the installed version of phx_gen, even if it were for phoenix 1.0 or earlier.
Also Liked
NobbZ
It doesn’t have to, as phoenix is only installed “project local” as a dependency to your application.
jakemorrison
Here are step by step instructions for setting up ASDF GitHub - cogini/elixir-deploy-template: An example project for deploying Elixir · GitHub
Last Post!
lastday4you
Awww I see thank you for clarify this. I was kinda still very noob with mix and elixir. Now I am fully understand now
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
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









