phoenix – phoenixframework
从原型到生产,安心无忧
关键指标一览
主题标签
README 详细介绍

> Peace of mind from prototype to production.
<img src="https://github.com/phoenixframework/phoenix/workflows/CI/badge.svg" alt="Build Status" class="ra0-md-img" loading="lazy" /> <img src="https://img.shields.io/hexpm/v/phoenix.svg" alt="Hex.pm" class="ra0-md-img" loading="lazy" /> <img src="https://img.shields.io/badge/documentation-gray" alt="Documentation" class="ra0-md-img" loading="lazy" />
Getting started
See the official site at .
Install the latest version of Phoenix by following the instructions at .
Documentation
API documentation is available at .
Phoenix.js documentation is available at .
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][4].
Generating a Phoenix project from unreleased versions
You can create a new project using the latest Phoenix source installer (the phx.new Mix task) with the following steps:
- Remove any previously installed
phx_newarchives so that Mix will pick up the local source code. This can be done withmix archive.uninstall phx_newor by simply deleting the file, which is usually in~/.mix/archives/. - Copy this repo via
git clone https://github.com/phoenixframework/phoenixor by downloading it - Run the
phx.newMix task from within theinstallerdirectory, for example:
cd phoenix/installer
mix phx.new dev_app --dev
The --dev flag will configure your new project's :phoenix dep as a relative path dependency, pointing to your local Phoenix checkout:
defp deps do
[{:phoenix, path: "../..", override: true},
To create projects outside of the installer/ directory, add the latest archive to your machine by following the instructions in installer/README.md
Building from source
To build the documentation:
MIX_ENV=docs mix docs
To build Phoenix:
mix deps.get
mix compile
To build the Phoenix installer:
mix deps.get
mix compile
mix archive.build
To build Phoenix.js:
mix assets.build
Important links
- [#elixir][1] on [Libera][2] IRC
- [elixir-lang Slack channel][3]
- [Issues tracker][4]
- [Phoenix Forum (questions and proposals)][5]
- Visit Phoenix's sponsor, DockYard, for expert Phoenix Consulting
[1]: https://web.libera.chat/?channels=#elixir
[2]: https://libera.chat/
[3]: https://elixir-lang.slack.com/
[4]: https://github.com/phoenixframework/phoenix/issues
[5]: https://elixirforum.com/c/phoenix-forum
Copyright and License
Copyright (c) 2014, Chris McCord.
Phoenix source code is licensed under the MIT License.