Hacker News new | ask | show | jobs
by rentfree-media 1542 days ago
If I did it would require a bit more planning on my part.

Sticky points:

1. Your own Nginx is required, to serve premium media securely you really need X-Sendfile to proxy not just the WSGI requests but also the media files themselves.

2. The design is for the back end to not really care how you manage your Stripe account. It only cares that a user has a subscription tier, and is "active." So there's the consideration of how to handle that in terms of who touches the money bits.

All that said, in the meantime I would be happy to assist people with deployment on their own cloud / Stripe accounts. Feel free to reach out to me via git contact info, I'd be happy to do a call with anyone about it.

A lot of this is why Ansible scripts are provided in the repo to minimize the learning curve in the initial deploy. A deployment to host premium media is a bit more complex than a simple website Django app.