This is my entry in Phoenix Phrenzy, showing off what Phoenix and LiveView can do.
Fork this repo and start build an application! See Phoenix Phrenzy for details.
Note: for development, you'll need Elixir, Erlang and Node.js. If you use the asdf version manager and install the relevant plugins, you can install the versions specified in .tool-versions
with asdf install
.
- Responsive layout
- Restrict maximum cards
- Refactor card effect logic
- More card effects (if-else, play again)
How you deploy your app is up to you. A couple of the easiest options are:
- Heroku (instructions)
- Gigalixir (doesn't limit number of connections)
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
mix phx.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: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix