The Hero of Canton Game
An experiment with Phoenix LiveView.
Assignment
Please read the project requirements located in the assignment.pdf file in the root of this project.
Getting Started
This is just a vanilla Elixir/Phoenix project with no other external Elixir dependencies and only TailwindCSS on the front-end side. To try it out on your local machine:
- Install Elixir, Erlang, and Node.js. I recommend installing all three via the asdf Version Manager.
- Run
mix local.hex
. - Install Phoenix by following the instructions in the Phoenix Installation Guide
- Head over to Pragmatic Studio and pick up some Elixir courses from Mike and Nicole, because they're amazing. The courses are pretty good too.
- Grab the code from Github by typing
git clone https://github.com/cdeyoung/hero_of_canton_game.git
in your favorite directory. - Once
git
has done it's magic,cd
intoyour_project_directory/apps/web/assets
and typenpm install
. - Then,
cd
back toyour_project_directory
and typemix deps.get
to get all the dependencies, even though there aren't any, because it is nice to have good habits. - Then, if my brain hasn't betrayed me again, you can run
iex -S mix phx.server
and browse to The Hero of Canton Game.