Skip to content

Conversation

dupuchba
Copy link

Live coding during the Apropos podcast on 10/11/2022 with @cgrand and the Apropos team.

To run the app

  1. Follow the first 2 points of https://github.com/Tensegritics/ClojureDart/blob/main/doc/flutter-quick-start.md
    On macos you'll need XCode

  2. At the root of the project

clj -M:cljd init
  1. (Option 1): automatic hotreload
    If you target a macOs native app
clj -M:cljd flutter -d macos

If you have XCode installed and want to run the app in a Simulator

open -a Simulator
clj -M:cljd flutter 
  1. (Option 2): use the watcher and launch in an other terminal flutter
clj -M:cljd watcher
# in a new terminal
flutter run 

Some remarks

  • If hot-relead does not catch your changes you can "hot-restart" by pressing "R+Enter"
  • You can list available devices using the flutter devices list
  • You can target all listed devices including hardware devices with the -d device-id option at the end of clj -M:cljd flutter -d device-id or flutter run -d ...
  • UI/UX is lame, I am not a designer ^^
  • Publish the app on stores means creating a Google PlayStore account as well as an Apple Developper Account, it comes with overhead cost of around ~$100 + some migraine validating all certificates.
  • Creating the project at the root might not have been the best idea, I guess I was stressed out during the live

On a side note, if you really want to make this app a reality, I would be more than happy to help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant