/phoenix

Productive. Reliable. Fast.

Primary LanguageElixirMIT LicenseMIT

phoenix logo

Productive. Reliable. Fast.

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

Build Status Inline docs

Getting started

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

Documentation

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

Contributing

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.

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.

  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.

Building phoenix.js

$ npm install
$ npm install -g brunch
$ brunch watch

Building docs from source

$ MIX_ENV=docs mix docs

Important links

Copyright and License

Copyright (c) 2014, Chris McCord.

Phoenix source code is licensed under the MIT License.