* Small fixes to the "Components and HEEx" guide
* Fix "Swapping Databases" link
"Using other databases" was moved to "Swapping Databases" in
|
||
|---|---|---|
| .github | ||
| assets | ||
| config | ||
| guides | ||
| installer | ||
| integration_test | ||
| lib | ||
| priv | ||
| test | ||
| usage-rules | ||
| .formatter.exs | ||
| .gitignore | ||
| babel.config.json | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| LICENSE.md | ||
| logo.png | ||
| mix.exs | ||
| mix.lock | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| RELEASE.md | ||
| SECURITY.md | ||
Peace of mind from prototype to production.
Getting started
See the official site at https://www.phoenixframework.org/.
Install the latest version of Phoenix by following the instructions at https://hexdocs.pm/phoenix/installation.html#phoenix.
Documentation
API documentation is available at https://hexdocs.pm/phoenix.
Phoenix.js documentation is available at https://hexdocs.pm/phoenix/js.
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
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:
npm install
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:
cd assets
npm install
Important links
-
Visit Phoenix's sponsor, DockYard, for expert Phoenix Consulting
Copyright and License
Copyright (c) 2014, Chris McCord.
Phoenix source code is licensed under the MIT License.