Awesome. Working for a client of mine who's hosting on PythonAnywhere. This helps getting started with a time-efficient way of re-deploying when adding changes. Thanks!
Hi Anthony. Thanks for a great video. Just curious: Is there a reason why you chose manual configuration over Flask configuration? Are there any benefits?
Hey I have made a flask-socketio chat app which allows multiple room chat, it also has a database that stores the messages in a given room. I deployed it on pythonanywhere and the issue is that for a second user who accesses the site the site takes for ever to load , I.e. the response times are too big. How do I resolve this
This was great! And I don't know what I would had to have done if you hadn't highlighted the difference when using the app-factory structure. That's precisely my situation, and knowing how to handle that was a huge benefit.
10:21 I'm stuck , I get the error: 2020-04-22 03:12:01,197: Error running WSGI application 2020-04-22 03:12:01,202: ModuleNotFoundError: No module named 'dotenv'
Good video. I particularly liked the app factory usage. Please, would you consider to do a Flask Frozen tutorial? There isn't any video on YT for SSG for Flask. Thanks
Can I do an upload image file and do a flask code to do image classifier stuff with this free account? I mean...can I do it dynamically rather than static deploy like the one in Github
Hello, Thanks for the tutorial. I really appreciate it. however, I keep getting this error: Error running WSGI application TypeError: __call__() missing 1 required positional argument: 'send'
If my env is already white and i have an automatically installed .gitignore file in the virtual env's folder do i have to create it again outside of that folder or move to the next step ?
This is excellent video. Thank you so much again Anthony !! You're always clear about the steps. I tested it with your other authentication/authorization app successfully. One difference is that I didn't even have to make any edits of the env variables. Can anyone test it and tell if you have the same experience?
What about the packages installed by the linter? These packages will be listed in *requirements.txt* when using *freeze* and will then be installed on the server which is not what should be done. For example, these are all the packages installed when using *pylint* linter and they all should be removed from the requirements: astroid backports.functools-lru-cache colorama configparser enum34 futures isort lazy-object-proxy mccabe pylint singledispatch six wrapt
Hey Anthony, many thanks for all your videos, helps me a lot. Could you also make a video about using the db from Flask-SQLAlchemy outside de flask context? I'm trying to have a worker which is a scheduler using apscheduler library for monitoring my database and send emails using some rules, but when I tries to run a query it trows error RuntimeError: No application found. Either work inside a view function or push an application context.
Hi Anthony. What if we don't have application factory just as you develope? I mean I only have single app.py file and whole source code inside that app.py file. How can I properly fix my wsgi.py file at pythonanywhere? I am stuck need help. Thank you.
hey for some reason my bash console uses python 2.7 meaning none of my requirements are able to install to the proper versions. Is there any way to fix this? edit: nvm, I had to use pip3 install
It never hurts to ask. You will never get further in life if you don’t ask questions, even if you think someone is better than you or in your case, a big TH-camr.
Hey, I just wanted to ask, I am having trouble deploying my deep learning REST API on heroku as it limits the slug size to 500mb, mine exceeds 700mb due to tensorflow and model weight size. Can I deploy the deep learning api here without any size limit ?
Great job. Would you say python based apps are harder to deploy than others? I use flask because I have a lot of python code but wondering if that makes it harder to deploy.
Hi. I'm not OP, but I would say that it depends on the platform. With Heroku, there's a Python package that helps the process out, for example. PA looks a little more involved, but not by much. And that bit of extra set up time is reflected in PA's lower cost bracket vs other host platforms.
what should i do to sort this error? RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret.
hay Anthony, Great video! anyway, I have some problem with flask, wtform n MySQL. in Update route, the querry is Ok but it returned different value, do you have some video or clue about that?
Guys please i need a help now i want to change the id autoincreament in django because i want to have a lot of users and posts so to have id consists of more than one character such as 143752, and same time i wanna that to be primary key and how it can be created automatically and like in real world production
Creating your own server will always require more setup and configuration. And you have to actively manage it afterwards. With Python Anywhere, you only need to spend 10 minutes in the beginning.
Ok, great! So, what will you do with settings.py with tokens when you deploy on github? it's no safe, u know) You deploy all your files to github, man. Your video very useless for all people in the world. Because it's not unique. Did you make it to get people stuck?
you make it clear. its not about you its about community and current state of python for web dev. And that video was make decide not make web dev on python. python is on a deserved hype. everybody talking about it. everybody starting coding with it. it should be much easier. industry going backward. php implementation is much more easier. much affordable to find php hosting. Web development make languages shine. look everyone was get fun of javascript till node.js. python will stay as a glue and pedagogic language I think.
Thanks!
you are the god of tutorials, thanks so much Anthony!
Anthony, you've made it so easy! Thank you very much for this tutorial.
Great explanation. For my is this a useful information. Keep going. Stay healthy dear in the U.S.
Thanks for watching! You stay safe as well.
Awesome. Working for a client of mine who's hosting on PythonAnywhere. This helps getting started with a time-efficient way of re-deploying when adding changes. Thanks!
I can't seen to get my app to update when I update the files - how did you do it?
Hi Anthony. Thanks for a great video. Just curious: Is there a reason why you chose manual configuration over Flask configuration? Are there any benefits?
You are messiah lol followed and deployed my blockchain crypto app with MySQL u were one such of good yt i love now
thank you so much, ive deployed my intrusion detection flask app
Thanks man! The app factory part was very helpful
Thanks, that was exactly what I was looking for!
Thanks for the excellent tutorial. Could get the app running sometime later because im a Flask Noob. Great Work altogether!
Thank you, I tried and its worked.
Thanks! Works like a charm!
Thank you so much for this. Helped a lot for a begineer like me!
Thanks buddy you saved me
very easy tutorial
Thanks for this video. It is useful for me!
Thank you so much!!!!! I tried deploying my app using heroku but it wasn't behaving like it would on my localhost. Great tutorial!
Thank you so much for this video!
Man, somebody somewhere needs to make setting up python apps easier on the web. A ton of money in that.
Hey I have made a flask-socketio chat app which allows multiple room chat, it also has a database that stores the messages in a given room. I deployed it on pythonanywhere and the issue is that for a second user who accesses the site the site takes for ever to load , I.e. the response times are too big. How do I resolve this
@@someoneokay5530 Not sure man, the owner of this channel has coaching though.
yes, I don't understand one thing
This was great! And I don't know what I would had to have done if you hadn't highlighted the difference when using the app-factory structure. That's precisely my situation, and knowing how to handle that was a huge benefit.
Hey how did you get the TH-cam certification without any subscribers ? Thanks
10:21 I'm stuck , I get the error:
2020-04-22 03:12:01,197: Error running WSGI application
2020-04-22 03:12:01,202: ModuleNotFoundError: No module named 'dotenv'
i believe thats a package you need to install and is called python-dotenv
what's the advantage of your method comparing to the standard configuration, i.e., selecting Flask in the pythonanywhere menu?
simply the best. thanks a lot
Thanks for the help!
thank you so much for this
Good video. I particularly liked the app factory usage.
Please, would you consider to do a Flask Frozen tutorial? There isn't any video on YT for SSG for Flask. Thanks
Hey! Thank you for the video, you helped me a lot! )
great video, thanks
How can we modify the files after we have deployed our project ?
Thanks Anthony!!
You're welcome! Thanks for watching.
Hi Anthony,
huge thanks ! It's perfect job. Could you also make a video about python anywhere with nginx and uwsgi ?
Great video. I'm trying to clone my repository but when I try to insert password, it won't let me type anything. How could I solve?
same problem
@@giuliofacciolo246 hai risolto? credo tu sia italiano 😂
@@michelangelo2917 si esatto ahah. Ho scoperto che è normale, scrivi lo stesso la password
can you show how to set up pythonanywhere mysql as well?
I definitely will!
Thanks! only tutorial I could make work
Can I do an upload image file and do a flask code to do image classifier stuff with this free account? I mean...can I do it dynamically rather than static deploy like the one in Github
great tutorial
good video, thaks, great job
thx man ❤
Hello, Thanks for the tutorial. I really appreciate it. however, I keep getting this error:
Error running WSGI application
TypeError: __call__() missing 1 required positional argument: 'send'
If my env is already white and i have an automatically installed .gitignore file in the virtual env's folder do i have to create it again outside of that folder or move to the next step ?
Thank you
Thank you !
Thanks, man.
This is excellent video. Thank you so much again Anthony !! You're always clear about the steps. I tested it with your other authentication/authorization app successfully. One difference is that I didn't even have to make any edits of the env variables. Can anyone test it and tell if you have the same experience?
Thanks Anthony
You're welcome! Thanks for watching.
works Tyvm
Sir I am getting an error --- with open()
Where should i play my file that is to be open in my program
Is everything same if i am using pipenv instead of venv?
What about the packages installed by the linter? These packages will be listed in *requirements.txt* when using *freeze* and will then be installed on the server which is not what should be done. For example, these are all the packages installed when using *pylint* linter and they all should be removed from the requirements:
astroid
backports.functools-lru-cache
colorama
configparser
enum34
futures
isort
lazy-object-proxy
mccabe
pylint
singledispatch
six
wrapt
Hey Anthony, many thanks for all your videos, helps me a lot.
Could you also make a video about using the db from Flask-SQLAlchemy outside de flask context? I'm trying to have a worker which is a scheduler using apscheduler library for monitoring my database and send emails using some rules, but when I tries to run a query it trows error RuntimeError: No application found. Either work inside a view function or push an application context.
Hey, that's a good idea for a topic. I'll see what I can do.
@@prettyprinted So many thanks!! I also had this problem trying to use redis with rq :( .I believe it's gonna be a very helpful video
Amazing tutorial sir, Sir please also post a tutorial for deploying a flask restful API (get) on python anywhere . Thanks
what is in .env and .flaskenv file?
You are the best!
I'm having a problem with the db, I used sqlite3 on my vscode
any ideas?
Hi Anthony. What if we don't have application factory just as you develope? I mean I only have single app.py file and whole source code inside that app.py file. How can I properly fix my wsgi.py file at pythonanywhere? I am stuck need help. Thank you.
same problem
same
hey for some reason my bash console uses python 2.7 meaning none of my requirements are able to install to the proper versions. Is there any way to fix this?
edit: nvm, I had to use pip3 install
Thanks bro
I am being met with some errors. Could we do a zoom meet?
It never hurts to ask. You will never get further in life if you don’t ask questions, even if you think someone is better than you or in your case, a big TH-camr.
How can I update my flask app though github.plzz help me
anthony.. can you show tutorials on kivy?... and creating hybrid mobile apps with ionic and flask for backend?... waiting for ur reply
I haven't looked at Kivy but I'll put it on my todo list.
thanks a lot
Hey, I just wanted to ask, I am having trouble deploying my deep learning REST API on heroku as it limits the slug size to 500mb, mine exceeds 700mb due to tensorflow and model weight size. Can I deploy the deep learning api here without any size limit ?
Great job. Would you say python based apps are harder to deploy than others? I use flask because I have a lot of python code but wondering if that makes it harder to deploy.
Hi. I'm not OP, but I would say that it depends on the platform. With Heroku, there's a Python package that helps the process out, for example.
PA looks a little more involved, but not by much. And that bit of extra set up time is reflected in PA's lower cost bracket vs other host platforms.
What's the advantage of this over something like Heroku or Digital Ocean?
Python anywhere gives GUI way of deploying web apps while in heroku you need to have knowledge of how to use git and terminal.
I think it's much easier to use. You can definitely outgrow it, but it works well for a lot of small projects.
Can we deploy a flask without a virtual environment?
yes, virtual environments just isolate your app.
Can u bring a tutorial like E-learning website
I'll consider that idea.
what should i do to sort this error?
RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret.
add this app.config["SECRET_KEY"] = "random_string"
Please add a video of deploy fastapi into python anywhere!!
need videos leading up to deploying your app
hay Anthony, Great video!
anyway, I have some problem with flask, wtform n MySQL.
in Update route, the querry is Ok but it returned different value, do you have some video or clue about that?
Be more specific
Check the function u used to update cause if query is ok then the function must have some mistake.
I have a problem, it can't found the git repository :V
private repo?
git nit not working
Guys please i need a help now i want to change the id autoincreament in django because i want to have a lot of users and posts so to have id consists of more than one character such as 143752, and same time i wanna that to be primary key and how it can be created automatically and like in real world production
Salute!!!
people who dislike even after everything is right need to atleast justify their actions.
thx
Awesome
Thanks for watching!
No module named 'dotenv'
Make sure you install it in your virtual environment.
Use " pip install python-dotenv "
Nice
pretty printed s better than whitehat jr :]
I can't setup the WSL terminal in Pycharm. Any help please?
i dont understand anything you say
Far too much config. Would’t it be better if you start on that hosting from scratch?
Creating your own server will always require more setup and configuration. And you have to actively manage it afterwards. With Python Anywhere, you only need to spend 10 minutes in the beginning.
not easy....
Vid didn't advertise a whole list of required dependencies. Timewaster
5:22 git clone
dude you lost me after 2 minutes. so hard to follow and I does not understand a single adjustment
Ok, great! So, what will you do with settings.py with tokens when you deploy on github? it's no safe, u know) You deploy all your files to github, man. Your video very useless for all people in the world. Because it's not unique. Did you make it to get people stuck?
you make it clear. its not about you its about community and current state of python for web dev. And that video was make decide not make web dev on python. python is on a deserved hype. everybody talking about it. everybody starting coding with it. it should be much easier. industry going backward. php implementation is much more easier. much affordable to find php hosting.
Web development make languages shine. look everyone was get fun of javascript till node.js. python will stay as a glue and pedagogic language I think.