gottagofaster236 / Twitch-Channel-Points-Miner

A simple script that will watch a stream for you and get the channel points
GNU General Public License v3.0
146 stars 46 forks source link

Heroku compatibility #17

Closed deion closed 3 years ago

deion commented 3 years ago

Is it possible to deploy this to heroku?

gottagofaster236 commented 3 years ago

It probably is possible, although I've never used heroku. I myself host the script on pythonanywhere (not an advertisement 😄)

deion commented 3 years ago

do you have a recommendation for plan settings? CPU Time per day number of web apps number of web workers

gottagofaster236 commented 3 years ago

I use all lowest, this miner is really light on the CPU

wuppyz commented 3 years ago

It probably is possible, although I've never used heroku. I myself host the script on pythonanywhere (not an advertisement 😄)

I'm trying pythonanywhere but can't get it to work. I try python3 main.py and this is what happens:

Traceback (most recent call last): File "main.py", line 5, in from login import check_login File "/home/blah/login.py", line 3, in import browser_cookie3 ModuleNotFoundError: No module named 'browser_cookie3'

gottagofaster236 commented 3 years ago

@wuppyz You have to install browser_cookie3. Just open up a console and type in _pip3 install browsercookie3. Also, it won't work on the free plan (as outgoing requests are limited on free accounts).

wuppyz commented 3 years ago

@wuppyz You have to install browser_cookie3. Just open up a console and type in _pip3 install browsercookie3. Also, it won't work on the free plan (as outgoing requests are limited on free accounts).

I've done that and still get that exact same problem. I've also bought the $5 plan on there. Unsure what's wrong. Could be a pathing issue? Not too sure.