/gym_live

Primary LanguageElixirMIT LicenseMIT

GymLive

A progressive web app workout tracking app, hosted at fly.io

Instructions

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

To run database locally

docker run --name gym-live-db -e POSTGRES_PASSWORD=password -e POSTGRES_USER=postgres -d -p 5432:5432 -d --rm -v ${PWD}/postgres-docker:/var/lib/postgresql/data postgres

Known issues

If a user logs in via multiple devices, the state will not be synced until the page is refreshed. It is possible to fix this by implementing PubSub