From d1d6cfed17387a47ebd91a36e5abe0159c66e1c1 Mon Sep 17 00:00:00 2001 From: Chris McCord Date: Tue, 28 Feb 2017 21:41:24 -0500 Subject: [PATCH] Use new generators in instructions. Closes #2124 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 05b80ed11b..27d1dd2899 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ We appreciate any contribution to Phoenix. Check our [CODE_OF_CONDUCT.md](CODE_O ### Generating a Phoenix project from unreleased versions -In order to create a new project using the latest Phoenix source installer (the `phoenix.new` Mix task) you will need to ensure two things. +In order to create a new project using the latest Phoenix source installer (the `phx.new` Mix task) you will need to ensure two things. -1. Remove any previously installed `phoenix_new` archives so that Mix will pick up the local source code. This can be done with `mix archive.uninstall phoenix_new.ez` or by simply deleting the file, which is usually in `~/.mix/archives/`. +1. Remove any previously installed `phx_new` archives so that Mix will pick up the local source code. This can be done with `mix archive.uninstall phx_new.ez` or by simply deleting the file, which is usually in `~/.mix/archives/`. 2. Run the command from within the `installer` directory and provide a subdirectory within the installer to generate your dev project. The command below will create a new project using your current Phoenix checkout, thanks to the `--dev` flag. ```bash $ cd installer -$ mix phoenix.new dev_app --dev +$ mix phx.new dev_app --dev ``` This will produce a new project that has `:phoenix` configured as a relative dependency: