See the application live on: https://othello.rutvarajdev.com/
Attributions:
- https://github.com/mborgbrant/react-othello-game
- https://elixirforum.com/t/transform-a-list-into-an-map-with-indexes-using-enum-module/1523/2
- Draw App by profssor Nat Tuck
Prerequisites:
- Erlang / OTP ~ 20.2
- Elixir ~ 1.5
- NodeJS ~ 9.4
To start your Phoenix server:
- Install dependencies with
mix deps.get
- 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.
Instructions to deploy to an Ubuntu 16.04 VPS:
As root:
- Install Erlang and Elixir packages.
- Create a new Linux user account, "othello".
- Add a nginx config for the new site. See "othello.nginx" for an example.
As the new user:
- Check out this git repository to ~/src/othello
- Run the deploy script.
- You may need to answer "Y" and press return.
- Run the start script to start your server.
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix
Ready to run in production? Please check our deployment guides.