Skip to content

MattAgn/Code-Name-Duo-Game

Repository files navigation

CodeName

Code name board game example Code name box cover

Description

This is a code name duo app I built to try out Elixir and the phoenix framework. It is not live anymore.

Development

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 npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Production

The app is deployed thanks to gigalixir at the following address: https://code-name-duo.gigalixirapp.com/.

Console to monitor the app: https://console.gigalixir.com/#/apps/code-name-duo

Useful commands:

  • Push to production: git push gigalixir
  • Run migrations: gigalixir run mix ecto.migrate
  • Run seeds: gigalixir run -- mix run priv/repo/seeds.exs
  • See logs: gigalixir logs
  • Open app: gigalixir open

Docs used to deploy:

TODO: change server to europe central

About

Code Name duo in elixir / phoenix live-view

Resources

Stars

Watchers

Forks

Packages

No packages published