Open_Crypto_Tracker icon indicating copy to clipboard operation
Open_Crypto_Tracker copied to clipboard

Support for Mac / Docker

Open 0xadri opened this issue 4 years ago • 13 comments

Thanks for this awesome OSS.

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

0xadri avatar Aug 15 '20 16:08 0xadri

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.

taoteh1221 avatar Aug 16 '20 16:08 taoteh1221

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

m-roberts avatar Apr 18 '21 13:04 m-roberts

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

taoteh1221 avatar Apr 18 '21 21:04 taoteh1221

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 avatar Dec 24 '21 12:12 taoteh1221

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.

taoteh1221 avatar Feb 23 '22 10:02 taoteh1221

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

m-roberts avatar Feb 27 '22 01:02 m-roberts

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?

taoteh1221 avatar Feb 27 '22 03:02 taoteh1221

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

m-roberts avatar Feb 28 '22 02:02 m-roberts

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 avatar Feb 28 '22 05:02 taoteh1221

@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 avatar Feb 28 '22 05:02 taoteh1221

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

taoteh1221 avatar Jun 03 '22 21:06 taoteh1221

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

proofy avatar Feb 02 '23 14:02 proofy

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.

taoteh1221 avatar Feb 02 '23 21:02 taoteh1221