Comments (6)
Hi, thanks for showing interest in the project.
-
At this point I'd say it's production ready.
-
Yes, but I don't feel comfortable linking my client's sites here. I am using a modified version of this code base to run https://buildasaaswithflask.com/ , which is a site that sells and securely distributes screencasts that teaches you about this code base.
In the above link's case, it's using 1 time payments instead of monthly recurring subscriptions and given the current base of this project, that only took a few hours to implement and test.
-
I'm not sure what you mean here, but every service is its own Docker image. This allows you to easily scale and move running containers around.
-
You can comfortably run everything on 1 server with a single $10/month Digital Ocean droplet. You will have a few hundred mbs of RAM left over to cache your important data and have breathing room.
-
The deploy aspects of everything can be found in this book https://leanpub.com/deploy-web-apps-with-docker, it does not cover multi-instance scaling but there are a number of easy to use command line tools to create a new droplet or you can just use Digital Ocean's website's UI when needed because really, you pick 3 things and click a button and 30 seconds later you have a new droplet. You can also easily add more CPU/RAM/disk to a droplet (~20-30 seconds).
You're also not locked into using Digital Ocean, nothing is specific to that platform. If you really need auto-scaling you could just move to Amazon.
-
No, that goes well beyond the material I plan to cover because to make something like this generic is a pretty huge undertaking but you could build on other open source technologies like kubernetes, mesos or openshift v3 and adapt them to your company's needs.
-
If you're talking about users picking new plans in the app contained in this source code, then yes. After you've signed up with an initial plan you only need to click 1 button to change plans and the user's billing gets pro-rated automatically. They don't even have to put in their billing info again to change.
-
The deploy example is based on using 1 host. Docker itself handles DNS in situations like this for container to container communication. Also host to container is easy too because it's just localhost.
I hope that answers your questions. The main website that sells the screencasts will get a new video posted today or tomorrow that will demo most of the capabilities of the application.
from build-a-saas-app-with-flask.
- In our case, every client's instance require 256Mb as minimum. So new droplets should be automatically added if that's required for a new client.
if every plan is a different image: that's rather marketplace of different products than "different" plans... Do you support set of "features" for a plan? For example: I want plan A, but I need 30Gb, so I will pay +$20 per month. Is this possible?
And one more question: does solution support upgrade of a client's container by new product version? Can that be done in a safe mode: let say - try to rollout new image with the same "docker" images and if something wrong - just keep old version for a client?
You did a great work: we will definetly buy your product - at least for materials. Am I right, that they will be helpfull even for a case if we will decide to build our own SaaS platform?
from build-a-saas-app-with-flask.
I think there might be a little confusion going on here. This project isn't offering a hosted solution for you to scale your infrastructure.
When I talk about "plan", I mean in the application code, the customer can freely pick and change plans which would affect what privileges they have in the application. This project gives you the ability to manage those plans, but it's on you to define the privileges since every app is different.
I put up a demo video last night, this walks you through what this project provides you:
https://buildasaaswithflask.com/demo
Then for deploying it, you could follow along with this book:
https://leanpub.com/deploy-web-apps-with-docker
If you wanted to go 1 step further you could create your own custom work flow based on the book. The book is meant to get you going in a very reasonable way, but if your business revolves around automatically provisioning machines then it would be a good idea to create something more fancy.
As for Digital Ocean's plans (the hosting provider), you can find them here:
https://www.digitalocean.com/pricing/
They are pretty flexible with the build choices, dozens of operating systems to choose from, easy to change the requirements, etc..
Am I right, that they will be helpfull even for a case if we will decide to build our own SaaS platform?
Yeah, this is pretty much the entire goal of the project. To give you a solid base to build your own platform on top of it. It will save you a ton of hours of development time.
from build-a-saas-app-with-flask.
I see now. Yea - word SaaS confused me a lot: I thought that solution will help organize provisioning and selling of a software as a Service. So once customer select a plan: proper docker image will be automatically deployed and so on...
Question regarding your book: am I right that if I buy it I will receive also updates for the book? I saw that you are working on the book quite closely.
from build-a-saas-app-with-flask.
Yes, you are correct. Once you purchase the book you will be able to download free updates for life in any format that's supported.
from build-a-saas-app-with-flask.
Going to close this for now. If you have any other questions, please open a new issue.
from build-a-saas-app-with-flask.
Related Issues (20)
- Illegal instruction: 4 HOT 8
- Revisiting OS X Postgres permissions issue HOT 15
- Internal sever error and db reset issue on Mac HOT 3
- Error importing module add: HOT 12
- Error importing module db: HOT 5
- Getting blank responses from cat watch HOT 44
- Cannot access admin page HOT 2
- CSRF problem HOT 17
- Adding Custom CSS and JS HOT 9
- SMTPAuthenticationError 534 HOT 4
- Getting a ImportError when running with docker compose HOT 4
- redis need a version bump HOT 3
- gunicorn does not run on windows HOT 2
- ERROR when building HOT 4
- celery-beat KeyError 'Scheduler' HOT 16
- how can i configure postgresql over here can you help me out HOT 1
- ImportError: No module named abc HOT 2
- FLASK_ENV error in build HOT 10
- why not django? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-a-saas-app-with-flask.