Closed palewire closed 6 years ago
I successfully deployed archivenow to heroku. I used the following two files:
"requirements.txt" which contains the following list of dependencies:
gunicorn
itsdangerous
Jinja2
MarkupSafe
Werkzeug
archivenow
requests
"Procfile" which contains the following line:
```web: archivenow --server --host 0.0.0.0 --port $PORT```
I noticed that 3 archives worked find. Archive.is did not accept "save" requests and responded with "409". Archive.is works fine if requests are sent from other places (e.g., my machine).
I believe archive.is has blocked requests from top cloud computing providers, which results in severely limiting what's possible.
That should be a separate ticket though.
As far as this matter, I would propose altering the import chain of this library so a simple import in a Python script works, as I tried above, so that starting the server isn't required.
On Mon, Nov 20, 2017, 3:33 AM Mohamed Aturban notifications@github.com wrote:
I successfully deployed archivenow to heroku. I used the following two files:
"requirements.txt" which contains the following list of dependencies:
gunicorn itsdangerous Jinja2 MarkupSafe Werkzeug archivenow requests
"Procfile" which contains the following line:
```web: archivenow --server --host 0.0.0.0 --port $PORT```
I noticed that 3 archives worked find. Archive.is did not accept "save" requests and responded with "409". Archive.is works fine if requests are sent from other places (e.g., my machine).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oduwsdl/archivenow/issues/18#issuecomment-345669984, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAnCbrgUOUS8rEFKOwvQJiTSYNlpDh4ks5s4WOJgaJpZM4Qf9Tm .
When installed on Heroku with pip here's the error I get.
Triggers this: