Deploying Flask Apps Using Python Anywhere

  Рет қаралды 83,265

Pretty Printed

Pretty Printed

Күн бұрын

Пікірлер: 124
@jefboy28
@jefboy28 4 жыл бұрын
you are the god of tutorials, thanks so much Anthony!
@tpz1474
@tpz1474 4 жыл бұрын
Anthony, you've made it so easy! Thank you very much for this tutorial.
@jayhu6075
@jayhu6075 4 жыл бұрын
Great explanation. For my is this a useful information. Keep going. Stay healthy dear in the U.S.
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for watching! You stay safe as well.
@howards5205
@howards5205 4 жыл бұрын
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?
@novaria
@novaria 3 жыл бұрын
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!
@AdventuresWithQuinn
@AdventuresWithQuinn 2 жыл бұрын
I can't seen to get my app to update when I update the files - how did you do it?
@TheVSI
@TheVSI 8 ай бұрын
thank you so much, ive deployed my intrusion detection flask app
@luasluckas
@luasluckas 2 жыл бұрын
Thanks man! The app factory part was very helpful
@farhanhaikhan7307
@farhanhaikhan7307 4 жыл бұрын
Thanks for the excellent tutorial. Could get the app running sometime later because im a Flask Noob. Great Work altogether!
@mauricioblaster
@mauricioblaster 4 жыл бұрын
what's the advantage of your method comparing to the standard configuration, i.e., selecting Flask in the pythonanywhere menu?
@joostvankruijsdijk98
@joostvankruijsdijk98 Жыл бұрын
Thanks!
@realtalkjames2408
@realtalkjames2408 4 жыл бұрын
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'
@bolivianprince7326
@bolivianprince7326 4 жыл бұрын
i believe thats a package you need to install and is called python-dotenv
@jimratliff
@jimratliff 2 жыл бұрын
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.
@mrpringtwo4213
@mrpringtwo4213 Жыл бұрын
Hey how did you get the KZbin certification without any subscribers ? Thanks
@khalifashuaib1168
@khalifashuaib1168 4 жыл бұрын
Thank you so much!!!!! I tried deploying my app using heroku but it wasn't behaving like it would on my localhost. Great tutorial!
@victordvickie
@victordvickie 4 жыл бұрын
You are messiah lol followed and deployed my blockchain crypto app with MySQL u were one such of good yt i love now
@間澤変態
@間澤変態 4 жыл бұрын
Thanks, that was exactly what I was looking for!
@mehmet_altan
@mehmet_altan 3 жыл бұрын
Thank you, I tried and its worked.
@jonathansum9084
@jonathansum9084 4 жыл бұрын
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
@namankhurpia3054
@namankhurpia3054 3 жыл бұрын
Thanks buddy you saved me very easy tutorial
@daksheshsharma1747
@daksheshsharma1747 4 жыл бұрын
How can we modify the files after we have deployed our project ?
@fernandocanepari3795
@fernandocanepari3795 3 жыл бұрын
Thanks! Works like a charm!
@pratik037
@pratik037 4 жыл бұрын
Thank you so much for this. Helped a lot for a begineer like me!
@rushas
@rushas 4 жыл бұрын
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
@adh9354
@adh9354 4 жыл бұрын
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 ?
@merthaddad1512
@merthaddad1512 3 жыл бұрын
I'm having a problem with the db, I used sqlite3 on my vscode any ideas?
@piotrlazecki3948
@piotrlazecki3948 4 жыл бұрын
Hi Anthony, huge thanks ! It's perfect job. Could you also make a video about python anywhere with nginx and uwsgi ?
@UnknownUnknown-th9kf
@UnknownUnknown-th9kf 3 жыл бұрын
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 ?
@looploop6612
@looploop6612 4 жыл бұрын
can you show how to set up pythonanywhere mysql as well?
@prettyprinted
@prettyprinted 4 жыл бұрын
I definitely will!
@wchriscowles
@wchriscowles 4 жыл бұрын
Thanks for the help!
@michelangelo2917
@michelangelo2917 2 жыл бұрын
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?
@giuliofacciolo246
@giuliofacciolo246 Жыл бұрын
same problem
@michelangelo2917
@michelangelo2917 Жыл бұрын
@@giuliofacciolo246 hai risolto? credo tu sia italiano 😂
@giuliofacciolo246
@giuliofacciolo246 Жыл бұрын
@@michelangelo2917 si esatto ahah. Ho scoperto che è normale, scrivi lo stesso la password
@ВикторияЛегчикова
@ВикторияЛегчикова 2 жыл бұрын
Thanks for this video. It is useful for me!
@waleedmashrequi5173
@waleedmashrequi5173 4 жыл бұрын
Is everything same if i am using pipenv instead of venv?
@realtalkjames2408
@realtalkjames2408 4 жыл бұрын
Man, somebody somewhere needs to make setting up python apps easier on the web. A ton of money in that.
@someoneokay5530
@someoneokay5530 4 жыл бұрын
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
@realtalkjames2408
@realtalkjames2408 4 жыл бұрын
@@someoneokay5530 Not sure man, the owner of this channel has coaching though.
@naheliegend5222
@naheliegend5222 4 жыл бұрын
yes, I don't understand one thing
@ChupoCro
@ChupoCro 3 жыл бұрын
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
@Ayoutubeaccount3
@Ayoutubeaccount3 Жыл бұрын
Thanks! only tutorial I could make work
@footballforfun2054
@footballforfun2054 3 жыл бұрын
what is in .env and .flaskenv file?
@technoodle07
@technoodle07 4 жыл бұрын
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
@RohitSaini-go3cr
@RohitSaini-go3cr 4 жыл бұрын
Sir I am getting an error --- with open() Where should i play my file that is to be open in my program
@EricSouzarys
@EricSouzarys 4 жыл бұрын
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.
@prettyprinted
@prettyprinted 4 жыл бұрын
Hey, that's a good idea for a topic. I'll see what I can do.
@EricSouzarys
@EricSouzarys 4 жыл бұрын
@@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
@sentientplatypus8740
@sentientplatypus8740 3 жыл бұрын
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'
@GraysonStream
@GraysonStream 2 жыл бұрын
Thank you so much for this video!
@mohamedrabea9607
@mohamedrabea9607 2 жыл бұрын
great tutorial
@krishnanandroy7185
@krishnanandroy7185 4 жыл бұрын
How can I update my flask app though github.plzz help me
@agungkurniawan7044
@agungkurniawan7044 2 жыл бұрын
great video, thanks
@alinecatikoc558
@alinecatikoc558 2 жыл бұрын
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.
@malupets7502
@malupets7502 Жыл бұрын
same problem
@irgendwiemichi4159
@irgendwiemichi4159 11 ай бұрын
same
@dubey_ji
@dubey_ji Жыл бұрын
thank you so much for this
@kashisethia8111
@kashisethia8111 4 жыл бұрын
Amazing tutorial sir, Sir please also post a tutorial for deploying a flask restful API (get) on python anywhere . Thanks
@TheHaterNumberOne
@TheHaterNumberOne 3 жыл бұрын
simply the best. thanks a lot
@jdhshs12
@jdhshs12 4 жыл бұрын
Thanks Anthony!!
@prettyprinted
@prettyprinted 4 жыл бұрын
You're welcome! Thanks for watching.
@verygood5377
@verygood5377 4 жыл бұрын
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?
@helmialfathseptiana6383
@helmialfathseptiana6383 4 жыл бұрын
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?
@victordvickie
@victordvickie 4 жыл бұрын
Be more specific
@waleedmashrequi5173
@waleedmashrequi5173 4 жыл бұрын
Check the function u used to update cause if query is ok then the function must have some mistake.
@saipriyakaminwar1189
@saipriyakaminwar1189 4 жыл бұрын
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.
@arsensaifutdinov4485
@arsensaifutdinov4485 4 жыл бұрын
add this app.config["SECRET_KEY"] = "random_string"
@binarysouljour
@binarysouljour 4 жыл бұрын
anthony.. can you show tutorials on kivy?... and creating hybrid mobile apps with ionic and flask for backend?... waiting for ur reply
@prettyprinted
@prettyprinted 4 жыл бұрын
I haven't looked at Kivy but I'll put it on my todo list.
@DucaTech
@DucaTech 4 жыл бұрын
What's the advantage of this over something like Heroku or Digital Ocean?
@vatsalaykhobragade
@vatsalaykhobragade 4 жыл бұрын
Python anywhere gives GUI way of deploying web apps while in heroku you need to have knowledge of how to use git and terminal.
@prettyprinted
@prettyprinted 4 жыл бұрын
I think it's much easier to use. You can definitely outgrow it, but it works well for a lot of small projects.
@moody54324
@moody54324 4 жыл бұрын
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
@bhrawii
@bhrawii 3 жыл бұрын
Thanks, man.
@MrMKA2012
@MrMKA2012 Жыл бұрын
Thank you
@MiniAishwarya
@MiniAishwarya 4 жыл бұрын
Can we deploy a flask without a virtual environment?
@codesniffer588
@codesniffer588 4 жыл бұрын
yes, virtual environments just isolate your app.
@artem_teliuk
@artem_teliuk 3 жыл бұрын
Hey! Thank you for the video, you helped me a lot! )
@mr_jacklu8014
@mr_jacklu8014 4 жыл бұрын
You are the best!
@gamingwithishack
@gamingwithishack 4 жыл бұрын
Thanks Anthony
@prettyprinted
@prettyprinted 4 жыл бұрын
You're welcome! Thanks for watching.
@juandavidosornojaramillo3680
@juandavidosornojaramillo3680 4 жыл бұрын
good video, thaks, great job
@b4nanajuice148
@b4nanajuice148 4 жыл бұрын
I have a problem, it can't found the git repository :V
@arorajivlogs1641
@arorajivlogs1641 4 жыл бұрын
private repo?
@Tiago-vo1ff
@Tiago-vo1ff 4 жыл бұрын
Thank you !
@rdubitsk
@rdubitsk 4 жыл бұрын
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.
@xswooshx
@xswooshx 4 жыл бұрын
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.
@Troglodyte2021
@Troglodyte2021 3 жыл бұрын
Salute!!!
@saltal3915
@saltal3915 Жыл бұрын
thx man ❤
@ppolo12
@ppolo12 3 жыл бұрын
works Tyvm
@ShehneelKhan-p3x
@ShehneelKhan-p3x Жыл бұрын
Thanks bro
@almasalzhanov5928
@almasalzhanov5928 3 жыл бұрын
thanks a lot
@Smoonwalkerm
@Smoonwalkerm 3 жыл бұрын
Please add a video of deploy fastapi into python anywhere!!
@akshitagarg5914
@akshitagarg5914 4 жыл бұрын
Can u bring a tutorial like E-learning website
@prettyprinted
@prettyprinted 4 жыл бұрын
I'll consider that idea.
@kenhazlett2636
@kenhazlett2636 2 жыл бұрын
I am being met with some errors. Could we do a zoom meet?
@kenhazlett2636
@kenhazlett2636 2 жыл бұрын
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 KZbinr.
@furkanbilgin8634
@furkanbilgin8634 3 жыл бұрын
thx
@nevergotfat
@nevergotfat 3 жыл бұрын
people who dislike even after everything is right need to atleast justify their actions.
@rverm1000
@rverm1000 2 жыл бұрын
need videos leading up to deploying your app
@GhostAcademy
@GhostAcademy 3 жыл бұрын
git nit not working
@isabeltormos5664
@isabeltormos5664 4 жыл бұрын
I can't setup the WSL terminal in Pycharm. Any help please?
@looploop6612
@looploop6612 4 жыл бұрын
No module named 'dotenv'
@prettyprinted
@prettyprinted 4 жыл бұрын
Make sure you install it in your virtual environment.
@vatsalaykhobragade
@vatsalaykhobragade 4 жыл бұрын
Use " pip install python-dotenv "
@bryandimas4280
@bryandimas4280 4 жыл бұрын
Awesome
@prettyprinted
@prettyprinted 4 жыл бұрын
Thanks for watching!
@pestcontrolusa1
@pestcontrolusa1 4 жыл бұрын
Nice
@plusk343
@plusk343 4 жыл бұрын
pretty printed s better than whitehat jr :]
@roostertechchan
@roostertechchan 4 жыл бұрын
Far too much config. Would’t it be better if you start on that hosting from scratch?
@prettyprinted
@prettyprinted 4 жыл бұрын
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.
@GhostAcademy
@GhostAcademy 3 жыл бұрын
i dont understand anything you say
@lappyacc5046
@lappyacc5046 Жыл бұрын
5:22 git clone
@MrSeinfeldFan2
@MrSeinfeldFan2 3 жыл бұрын
not easy....
@louisstroudh7415
@louisstroudh7415 4 жыл бұрын
Vid didn't advertise a whole list of required dependencies. Timewaster
@naheliegend5222
@naheliegend5222 4 жыл бұрын
dude you lost me after 2 minutes. so hard to follow and I does not understand a single adjustment
@Techn0v0r3
@Techn0v0r3 3 жыл бұрын
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?
@kaplansedat
@kaplansedat 4 жыл бұрын
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.
How to Deploy a Flask App and Postgres Database to Render
16:39
Pretty Printed
Рет қаралды 50 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 29 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 14 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Deploy a Django web app to Python Anywhere [FREE]
19:04
Cloud With Django
Рет қаралды 146 М.
Python + JavaScript - Full Stack App Tutorial
1:29:25
Tech With Tim
Рет қаралды 240 М.
Hosting a Python Flask project on PythonAnywhere's free server
9:49
Paul Baumgarten
Рет қаралды 21 М.
Best Platforms to Host Python Apps (for free!!)
9:50
Patrick Loeber
Рет қаралды 137 М.
Learn Flask for Python - Full Tutorial
46:59
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Building Websites With Flask - Python and Flask #1
17:51
Codemy.com
Рет қаралды 75 М.
How to Deploy Flask with Gunicorn and Nginx (on Ubuntu)
13:50
Tony Teaches Tech
Рет қаралды 84 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 29 МЛН