chrismccord [10:14 PM]
@alanpeabody yes, it's straightforward
- mix new my_umbrella --umbrella
- cd my_umbrella/apps
- mv ~/path/to/phoenix_app ./
- Update the paths in your phoenix project's mix.exs to match:
def project do [app: :my_app, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: aliases, deps: deps] end
- shipit
- if using brunch/node, update package.json paths that reference phoenix
david.antaramian [10:16 PM]
He described his problem more in general
which is that he wants to keep his existing git history. Though, that should really just involve inverting what you suggested
[10:18]
@david.antaramian @alanpeabody ah yes, you should be able to do it similarly but within the existing repo
Source