taoteh1221 / Open_Crypto_Tracker

Bitcoin / Alts private portfolio tracker, with email / text / alexa / telegram price alerts, charts, leverage support and much more.
https://taoteh1221.github.io
GNU General Public License v3.0
97 stars 23 forks source link

Support for Mac / Docker #14

Open 0xadri opened 4 years ago

0xadri commented 4 years ago

Thanks for this awesome OSS.

Are you planning to support Mac and Windows Operating Systems anytime soon?

taoteh1221 commented 4 years ago

Your welcome @adrien-be. Currently this app only comes as a "Server Edition", which requires being installed on a device running a PHP web server, and viewing the app in a web browser (locally or remotely).

Support is already built-in for Microsoft Internet Explorer, and all other major web browsers on Linux and Windows. I do my best to have it look good on Apple Safari too, using a linux variant called GNOME Web (previously Epiphany), although I currently do not have a Mac to test on.

I do have plans for a "Desktop Edition" in the future, which installs like a normal application onto a desktop computer...but for now you need either a website server or Raspberry Pi computer to install the app onto.

m-roberts commented 3 years ago

A Docker image would offer better encapsulation of the app and its dependencies so that it can run uniformly and consistently on any infrastructure.

taoteh1221 commented 3 years ago

Thanks for the feedback @m-roberts, I'll check out building docker images.

taoteh1221 commented 2 years ago

Just a note here on this thread, that as of v5.06.0 and higher a half-decent batch file supporting Win10 task scheduler has been added for cron job support. Just run it, and choose your preferred parameters. It defaults to win10 XAMMP files paths, so a user can just use those pre-configured settings, or change to custom settings if they prefer.

taoteh1221 commented 2 years ago

Linux desktop support is finally here, with the v5.13.0 release: https://github.com/taoteh1221/Open_Crypto_Tracker/releases

Windows desktop support will be out in a few days as well. Mac support could take awhile, as my Mac is pretty old, not sure I can test modern packages on it anymore. We'll see how it goes.

m-roberts commented 2 years ago

Would still prefer to run this in a Docker container :)

taoteh1221 commented 2 years ago

Would still prefer to run this in a Docker container :)

I have checking into docker building on my large TODO.txt list. Any ideas on where to start, as I've never used docker before?

m-roberts commented 2 years ago

Would still prefer to run this in a Docker container :)

I have checking into docker building on my large TODO.txt list. Any ideas on where to start, as I've never used docker before?

Depends on how you learn really - I learn by looking at working examples and walkthroughs. At a glance, it seems like this is a half-decent jumping off point: https://hackernoon.com/how-to-use-a-template-to-use-docker-with-php

taoteh1221 commented 2 years ago

Thanks @m-roberts, I'll start there when I schedule in some time for looking into docker builds. Honestly not sure when, it's been a wild few years aggressively building this app out. I may need a break for awhile this year. :)

taoteh1221 commented 2 years ago

@adrien-be The app now has Windows support in the latest release: https://github.com/taoteh1221/Open_Crypto_Tracker/releases

Hoping to eventually add Mac support too, at some point.

taoteh1221 commented 2 years ago

Since cross-platform 'desktop versions' of this app require PHPdesktop, just an FYI having a Mac version of this app depends on the current funding level for a Mac release of PHPdesktop. $350 more in funding gets this done (as of 2022/6/3), according to their open issue on the Mac release here:

https://github.com/cztomczak/phpdesktop/issues/208

proofy commented 1 year ago

Would be nice to make this issue to a milestone and split support for Mac OS and docker in different issues. I would try to make a docker/docker-compose file

taoteh1221 commented 1 year ago

Thanks for the insight @proofy , for now this is kinda on the back burner as the admin interface / plugin system is still built out, but I like the idea.

Honestly no docker experience yet, but when it makes sense to schedule this in I'll try that approach. Can't build for Mac yet anyway, until I upgrade my 10 year old Mac book I never use to a new model.