node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

phoenix

The official JavaScript client for the Phoenix web framework.

A productive web framework that does not compromise speed and maintainability.

See the official site at http://www.phoenixframework.org/

API documentation is available at https://hexdocs.pm/phoenix

We appreciate any contribution to Phoenix. Check our CODE_OF_CONDUCT.md and CONTRIBUTING.md guides for more information. We usually keep a list of features and bugs in the issue tracker.

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.

  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/.
  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.
$ cd installer
$ mix phoenix.new dev_app --dev

This will produce a new project that has :phoenix configured as a relative dependency:

defp deps do
  [{:phoenix, path: "../..", override: true},

The command must be run from the installer directory. See the discussion in PR 1224 for more information.

$ npm install
$ npm install -g brunch
$ brunch watch
$ MIX_ENV=docs mix docs

Copyright (c) 2014, Chris McCord.

Phoenix source code is licensed under the MIT License.