Skip to content

Commit

Permalink
Use new generators in instructions. Closes phoenixframework#2124
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Mar 1, 2017
1 parent cd5c52f commit d1d6cfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1d6cfe

Please sign in to comment.