-
Create an account at http://www.openshift.com/devpreview/register.html
-
Add the Phoenix template(s) to your project:
$ oc create -f https://raw.githubusercontent.com/jtslear/phoenix-example/master/openshift/templates/phoenix.json
-
Fork this GitHub repo
-
From the web console, select your project, click Add to Project, and select the Phoenix template under the Other heading
-
Replace the user name in the Git Repository URL parameter with your GitHub user name to point the template to your fork
-
Scroll to the bottom of the page and click [ Create ] to deploy your application
-
Follow these instructions to configure automated builds, allowing you to push your code to your GitHub repo and automatically trigger a new deployment
To start your Phoenix app:
- Install dependencies with
mix deps.get
- Install Node.js dependencies with
npm install
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: http://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix