doug-101 / TreeTag

a structured information storage program
http://treetag.bellz.org
GNU General Public License v2.0
10 stars 3 forks source link

mac support #1

Open kghenderson opened 1 year ago

kghenderson commented 1 year ago

I'd like to check this out. I'm a longtime fan of Treeline. I'm on a Mac these days though. Just creating this ticket so hopefully I can track it and get notified if/when this becomes available. I have flutter/dart installed, but I haven't had a chance to really dig into it yet. Anyway, thanks for creating this and sharing!

kevin

doug-101 commented 1 year ago

Hi Kevin, Unfortunately, I don't have a Mac to use for testing, so I can't really create a port TreeTag. But, as far as I know, I haven't put anything in the TreeTag code that shouldn't work on a Mac. If you'd like to try running it, I'd be glad to help you work through any errors that come up. -Doug

kghenderson commented 1 year ago

Thanks for getting back to me Doug. I'll see if I can poke around and try to get it working (but it might be a while).

kghenderson commented 1 year ago

well, i don't really actually know what i'm doing yet, but i was able to get treetag to launch (in dev mode, and i wasn't trying to install just get it loaded ).

i use the asdf version manager i'm using jetbrains intellij ultimate. i also already have xcode installed (and have agreed to the licenses). i also already have the ruby+gems installed and updated (also with asdf).

got flutter/dart installed and working with:

asdf plugin add flutter
asdf plugin add dart

asdf install flutter latest
asdf install dart latest

asdf global flutter latest
asdf global dart latest

flutter config --no-analytics
dart --disable-analytics

also installed the cocoapods gem with

gem install cocoapods
pod setup

^ note that pod setup returned some minor errors about some dependencies, i ran what it asked, in my case:

gem pristine debug --version 1.7.1
gem pristine rbs --version 2.8.2

and then re-ran pod setup, and it showed clean


i opened the treetag root project in intellij ultimate, and installed the default flutter and dart plugins (with restart), and then opened a terminal to the project root (i.e. the directory with the pubspec.yaml file), and ran:

 flutter run -d macOS

which installed the dependencies and began a new treetag session!

very nice!

doug-101 commented 1 year ago

Cool. I'm glad that it seems to be going smoothly so far.

Thanks, Doug