Deploy a Django web app to Python Anywhere [FREE]

  Рет қаралды 147,067

Cloud With Django

Cloud With Django

Күн бұрын

Пікірлер: 325
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi all, [PLEASE READ for static /media files] Please note that you will have to setup your static and media files as well - I'd suggest using Amazon S3. Here is a tutorial on how to setup Amazon S3: kzbin.info/www/bejne/gIK5gpaEg5WWjqc You will also have to setup your database as well - I'd recommend using a PostgreSQL database. Here is a tutorial on how to setup a PostgreSQL database with Render for FREE: kzbin.info/www/bejne/d5i3o2ijrJmtmqs
@briankoech4307
@briankoech4307 4 ай бұрын
It is now easy to setup static and media files service on PythonAnywhere without using an external service. Under the app, there are settings to set /static/ and /media/ to their respective folders on your project.
@painkiller0236
@painkiller0236 Жыл бұрын
After a couple of hours of trial and error, i found your clip and it worked as intended! You sir, are a true gentleman! Thank you!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi Daniel, Thank you for reaching out and for your feedback. I'm very glad to hear that you managed to get things up and running! The pleasure is all mine! All the best!
@InsiderGames456
@InsiderGames456 17 күн бұрын
You're amazing bro! I needed this video to host a Django app for a college test, you saved me, keep up the videos!
@CloudWithDjango
@CloudWithDjango 17 күн бұрын
Thank you so much for your kind words! I really appreciate it! Super glad that this video helped you! All the best!
@alexmckinley79
@alexmckinley79 6 ай бұрын
Thanks so much mate. I was really lost on how to deploy Django.
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
It's a pleasure! Glad that this video helped you! All the best!
@relatable.realitycc
@relatable.realitycc 11 ай бұрын
bro i dont do this, but thanks. i hope there is a way to migrate it to my domain, i bought. that worked perfectly, now i only hope the static media files will work too. i have my first client, and thats a big project, where i get paid for single steps. you my guy just made me and my worker 100 bucks
@vladimirradischev4726
@vladimirradischev4726 Жыл бұрын
Thank you very much for your tutorial, dude. It was helpful for my university project
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that it was of value to you! :)
@JavohirIsoqulov-b9y
@JavohirIsoqulov-b9y 3 ай бұрын
I spend a lot of time searching video about django hosting and i find it. Thank you video is very useful.
@CloudWithDjango
@CloudWithDjango 3 ай бұрын
My pleasure! I'm glad that this video was able to help you with hosting!
@bilalkazmi4532
@bilalkazmi4532 4 ай бұрын
I barely comment on any video but you made my day , It works for I was searching here and there from last two days and it works for me ,Thank so much ,Even I have python 3.12 version but after getting no way I put 3.9 and it works for me , IDK how ,BTW ,Thank you so much for the video
@CloudWithDjango
@CloudWithDjango 4 ай бұрын
Thank you so much for your kind words and for deciding to comment on my video. I appreciate all the support! Glad to hear that you managed to get a solution working! Yes, unfortunately, PythonAnywhere takes time to support the newer python versions on it's platform. In good time 3.12 will be supported. It's a great pleasure! I wish you all the best!
@krishnarajgohil137
@krishnarajgohil137 Жыл бұрын
Thank you so much man❤❤. I was so in need of this tutorial. It actually worked completely
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that you managed to get things working correctly.
@ShadrakBabuu
@ShadrakBabuu Ай бұрын
Thank you, I have deployed one django web application by following this tutorial..
@CloudWithDjango
@CloudWithDjango Ай бұрын
My pleasure! Congratulations on deploying your Django application! I'm glad that this tutorial helped you in doing so!
@thrilleracaste400
@thrilleracaste400 Жыл бұрын
This was just the video I needed. Thanks a lot!😇
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! :)
@fps_spicy
@fps_spicy Ай бұрын
thank you for going throught every step in detail, very beginner friendly :)
@CloudWithDjango
@CloudWithDjango Ай бұрын
My pleasure! I'm glad that you enjoyed it!
@lakshaysingla7412
@lakshaysingla7412 Жыл бұрын
Thank you bro! I feel like crying! Deployed my first ever web app, Tried many videos many deployment sites like vercel and azure aws but you were the one!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Haha, no worries! I feel that sweet relief 🤣 My pleasure! I'm glad that you managed to get your Django web app deployed on with Nginx :)
@GrahamEisele
@GrahamEisele 8 ай бұрын
Hello I am getting the following error: Error running WSGI application 2024-04-11 02:42:13,903: ModuleNotFoundError: No module named 'musictheorypractice.settings'
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Please double check your configuration settings
@GrahamEisele
@GrahamEisele 8 ай бұрын
@@CloudWithDjango thank you I got it fixed :)
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
No worries! Glad to hear that!
@WandererBhavish
@WandererBhavish 2 ай бұрын
You made it so easier. Thank You
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
My pleasure! I'm very glad that you found it easy!
@namanbangari-y5o
@namanbangari-y5o 9 ай бұрын
thanks a lot this really helped
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
My pleasure! I'm glad that it was helpful to you!
@Code_With_Dancan
@Code_With_Dancan Жыл бұрын
Thanks Cloud With Django just deployed my app to ,the web 😋
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad to hear that you managed to get your app deployed!
@technogram-w8h
@technogram-w8h 9 ай бұрын
Thank you for your Django project deployment tutorial! Your guidance was invaluable, leading to the successful launch of my project. Your expertise has been truly inspiring. You're really professed man kudos to You!
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
Thank you so much for your kind words! It is much appreciated! I'm glad to hear that you launched your project successfully! All the best to you!
@saadatnazaralieva9753
@saadatnazaralieva9753 Жыл бұрын
thank you! you helped me a lot
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that my tutorial was of value to you! All the best,
@cholmalual4989
@cholmalual4989 3 ай бұрын
Very nice tutorial 🎉
@CloudWithDjango
@CloudWithDjango 3 ай бұрын
Thank you!
@ryandhingra915
@ryandhingra915 Жыл бұрын
Great tutorial, however I am coming across a similar issue mentioned before... the browser returns a page with: Something went wrong :-( Something went wrong while trying to load this website; please try again later. I then checked the error logs which say: Error running WSGI application. decouple.UndefinedValueError: SECRET_KEY not found. Declare it as envvar or define a default value. Any tips on how to solve this, my SECRET_KEY is set exactly as is yours in the tutorial. Thanks!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Thank you for your feedback. I'd recommend double checking your configuration settings. That would be the best option. Here is an alternative solution for you: Deployment with Render: kzbin.info/www/bejne/d5i3o2ijrJmtmqs
@sambhrammathad1330
@sambhrammathad1330 9 ай бұрын
what about environment variables, does pythonanywhere supports that or we just need to leave it as it is in the code base ?
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
Hi, You'd need to research how to setup environment variables with PythonAnywhere. It should be possible to do so.
@peterndukwe2666
@peterndukwe2666 10 ай бұрын
Thank you very much for this CWD. I really appreciate
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
It is a great pleasure! Thank you for watching :)
@briankoech4307
@briankoech4307 4 ай бұрын
This is a brilliant video. Thank you so much.
@CloudWithDjango
@CloudWithDjango 4 ай бұрын
Thank you so much!! Glad that it was useful to you!
@ruksharalam173
@ruksharalam173 Жыл бұрын
What are other platforms like pythonanywhere that also offer some free tier usage?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Thank you for reaching out. Render and Railway are good alternatives (both offer free tier usage)
@sunildangal5413
@sunildangal5413 11 ай бұрын
Great Tutorial for Quick Deploying Django Website. Thank you
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Thank you! I'm glad that you enjoyed it!
@TheInfinitum00
@TheInfinitum00 7 ай бұрын
You are a life saver mate, you have my subscription and my like
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
Thank you so much!
@chuyi-crack6290
@chuyi-crack6290 Жыл бұрын
Thanks dude, you've explained so good
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! Thank you so much!
@101kawsar
@101kawsar Жыл бұрын
Great tutorial! Subscribed!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you! I really appreciate your feedback and the sub!
@Sandeep-px9uk
@Sandeep-px9uk Жыл бұрын
Hello bro i developed a django website for real-estate but i used mangodb for backend which settings has to change for deployment and for working backend ?
@joseprincipe4578
@joseprincipe4578 4 күн бұрын
Same question here
@gauravkhakse4201
@gauravkhakse4201 5 ай бұрын
Hi sir, I did as you said, but my images which I kept in static folder is not showing even the mapping of root is done in setting.py it was working locally. Please Help
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
Hi, Please read the pinned comment for further information on static and media files
@manojrawat5756
@manojrawat5756 8 ай бұрын
Thanks help me lot but what should I do for static files
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
No worries. Please refer to the pinned comment for information on static files.
@SamudrasProject-w8k
@SamudrasProject-w8k 2 ай бұрын
Sir, I have a question. Can I use this pythonanywhere to deploy my django backend application and use netlify to deploy my flutter frontend application? And will they be able to connect with each other?
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
Hi! Yes, you can use PythonAnywhere to deploy your Django backend and Netlify to deploy your Flutter frontend. They will be able to connect with each other as long as your Django backend is set up to handle API requests from the Flutter frontend. Once you deploy your Django backend on PythonAnywhere, ensure the API endpoints are publicly accessible, and then in your Flutter frontend, you can make requests to the URL of your Django API hosted on PythonAnywhere. As long as the correct API URLs and permissions are in place, they will communicate smoothly.
@SamudrasProject-w8k
@SamudrasProject-w8k 2 ай бұрын
@@CloudWithDjango Thank you very much for the information, I will do as you suggest, sir.
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
My pleasure! Of course! Good luck!
@bhanujuneja58
@bhanujuneja58 Жыл бұрын
Very well explained. Works really well. Thanks 🙏🙏
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you for your feedback. I appreciate it! My pleasure. I'm glad that it helped!
@edscon
@edscon Жыл бұрын
Thanks it worked perfectly!!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad to hear that! :)
@starringnaija
@starringnaija Жыл бұрын
hi, I have a django project already on my local server so i want to host it online with namecheap do u have any video for it
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Sorry, no I do not.
@starringnaija
@starringnaija Жыл бұрын
0k, but it would have been really helpful @@CloudWithDjango
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you for the suggestion.
@Muso-c8j
@Muso-c8j 5 ай бұрын
Hi. I did as you did. I did it it successfuly. thank you. but there is an issue. Issue is that bootscrap5 is not working. Do you know why is not working?
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
No worries, glad that you deployed successfully! I'd suggest ensuring that you've set up static files correctly with whitenoise and then I'd recommend setting up bootstrap5 with a library before deployment.
@muhammetomernolastname5721
@muhammetomernolastname5721 Жыл бұрын
thanks very cool and clear instructions
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you so much! I'm glad that you enjoyed it!
@natashaserem
@natashaserem Жыл бұрын
In a django app there is an app name and a project name. In this case will you CD into the project folder or the app folder...
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, We will always CD into the project folder. Never the app name.
@kyloren_xxii
@kyloren_xxii Жыл бұрын
Thank you.. this helped me... ive been looking for a django web host... i tried zeet and heroku but there is credit card involved...
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi ilato! Thank you for sharing your feedback, and deployment experience. It is a pleasure! I'm very glad to hear that my video tutorial was of value to you :) Another alternative would be Render or Railway. Good luck!
@allinonecryptoandstocks161
@allinonecryptoandstocks161 8 ай бұрын
If we have. Env file in our project then how we can use taht from git hub without publicly exposed.
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Usually you will create .gitignore file and ignore the .env file for safety
@muhammadyusufislam9234
@muhammadyusufislam9234 7 ай бұрын
Nice Video liked it
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
Thank you!
@ajay5567
@ajay5567 6 ай бұрын
Brother my version is python 3.12 so does the procedure suits for me as pythonanywhere only gives us till 3.10 so does it supports here
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
Hi, Unfortunately not. You'd need to use 3.10 until 3.12 is available.
@italozell
@italozell Жыл бұрын
It worked perfectly!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
That's great to hear, Italo!
@ApoloGod-b7h
@ApoloGod-b7h 10 ай бұрын
Thanks a lot, very usefull!!
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
My pleasure! I'm glad that you found the video to be of use!
@santiagourban5491
@santiagourban5491 2 жыл бұрын
The video helped me a lot, but I have images loaded from the admin that do not load on the web, but if they did the localhost, will I have to add a configuration?
@CloudWithDjango
@CloudWithDjango 2 жыл бұрын
Hi, Thank you for reaching out. I'm glad to hear that this video helped you out. Yes, the best way to solve this is to look into hosting your images from Amazon S3 and then making use of collectstatic... This should help with your configuration
@dj_ovosh
@dj_ovosh Жыл бұрын
Yoo, thank you so much😭😭😭😭
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!!
@sawdickagboke2769
@sawdickagboke2769 23 күн бұрын
Is this method going to work for python 3.12?
@CloudWithDjango
@CloudWithDjango 22 күн бұрын
Hi. PythonAnywhere brings in newer versions of Python over time, I'd suggest checking if it's available through the setup in the video
@sawdickagboke2769
@sawdickagboke2769 22 күн бұрын
@CloudWithDjango is not, the latest is still python 3.10
@CloudWithDjango
@CloudWithDjango 22 күн бұрын
In that case, the newer version is not available yet and you would need to use python 3.10
@wzrtech
@wzrtech Жыл бұрын
hello, wish you doing good .. my images in static folder didn't appear any idea why ?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, I'd recommend double checking your configuration
@wzrtech
@wzrtech Жыл бұрын
@@CloudWithDjango thanks, it works locally but not when i deployed i will see if there's an issue, thanks again
@CloudWithDjango
@CloudWithDjango Жыл бұрын
No worries. I'd suggest using Amazon S3 for your configuration and ensuring that you've configured it before deploying your application first.
@richlueking2627
@richlueking2627 Жыл бұрын
Please am stuck , I don't get it when you ran " mkvirtualenv --python=/usr/bin/python3.9 venv " are we navigating to the install python file on our local machine ? cause it's giving me error.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Thank you for reaching out. No worries. We are creating a virtual environment within the PythonAnywhere environment / terminal not on our local machine So, to keep it simple all that we are doing is creating a virtual environment via the Python Anywhere terminal
@richlueking2627
@richlueking2627 Жыл бұрын
@@CloudWithDjango ok thanks, let me try again.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
@@richlueking2627 My pleasure. Good luck :)
@CloudWithDjango
@CloudWithDjango Жыл бұрын
I also want to mention that PythonAnywhere isn't always the best solution for everyone, so if you are still struggling, I'd suggest looking at my tutorial on deploying with Render... It is much simpler. If you'd be interested in that you can check it out here: kzbin.info/www/bejne/d5i3o2ijrJmtmqs
@ITSADREX
@ITSADREX Жыл бұрын
Please what do i do if i hav a requirements.txt do i pip install each and everyone? Please i want to know thx
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, You can install all the packages in your requirements.txt with the necessary command or do it one by one.
@ITSADREX
@ITSADREX Жыл бұрын
@@CloudWithDjango thank you one more thing when I tried git clone the next line was telling me to put in an email and password I thought it was my git hub account details but that didn't work any ideas on how to solve that would be greatly appreciated.
@AldedanGeneralContracting
@AldedanGeneralContracting Ай бұрын
Nice good job 😊
@CloudWithDjango
@CloudWithDjango Ай бұрын
Thank you!
@деньдобрый-х2ъ
@деньдобрый-х2ъ Жыл бұрын
Thank you so much! Just a perfect tutorial!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! Thank you! I'm glad that you liked it!
@-RakshithaSaiva
@-RakshithaSaiva 8 ай бұрын
Im getting a file not found error while making a virtual environment...im using python 3.11 version
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, I'd suggest ensuring that PythonAnywhere supports the django version that you are using first and then double checking your configuration carefully with the video.
@-RakshithaSaiva
@-RakshithaSaiva 8 ай бұрын
​​​@@CloudWithDjango ok I got it, but my python version is 3.12 how can I proceed with it...
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Perhaps use Python 3.10 or 3.11 if pythonanythwere supports it. As in the video
@abdullahatif7854
@abdullahatif7854 Жыл бұрын
I'm getting an error with DJANGO_SETTINGS_MODULE. I've changed the default 'mysite.settings' to my project's name but it says ModuleNotFoundError. Please help
@iuchh
@iuchh Жыл бұрын
Check for the spelling and for the "__init__.py" files in your modules. Most of the time is one of these problems.
@abdullahatif7854
@abdullahatif7854 Жыл бұрын
@@iuchh Thanks so much. I'll take a look
@tadakiga6611
@tadakiga6611 11 ай бұрын
how to solve this bro
@abdullahatif7854
@abdullahatif7854 11 ай бұрын
@@tadakiga6611 I didn't pursue with python anywhere, cause the option for custom domain was paid. I shifted to Heroku. Since, Heroku option was available, I didn't invest much time with the bug. I hope you can get through it though, let me know what you did for it
@edslow
@edslow Жыл бұрын
Good stuff! Thanks.
@edgaracachtamay607
@edgaracachtamay607 6 ай бұрын
Why isn't it loading my CSS styles? Help, please
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
Hi, You need to use either white noise or amazon s3 for this. Please kindly refer to the pinned comment.
@wahid686
@wahid686 Жыл бұрын
I have used pandas and plotly in my project. So after the deployment the project is not running. Can anyone help me? How can I solve this
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, As a good practice, I would suggest that you deploy a simple app with minimal packages first, and then work from there with larger applications.
@wahid686
@wahid686 Жыл бұрын
@@CloudWithDjango I made a project where I had to plot some graphs. So I used pandas and plotly. I used chatgpt and got a solution. From the bash I went to the project folder and did pip install pandas and pip install plotly. Now my project is running. I am very happy. Thank you so much. By watching this video I have done almost all the works. Love you brother 😄
@CloudWithDjango
@CloudWithDjango Жыл бұрын
I'm glad that you are managing to work things out. No problem
@godshandYT
@godshandYT Жыл бұрын
BRO HOW TO IMPORT CSS FILES ? I HAVE HTML AND CSS FILES IN THE WEBPAGE
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please read the pinned comment for more information.
@fahadnawab3212
@fahadnawab3212 Жыл бұрын
Its showing error while creating venv "no such file or directory: usr/bin/python"
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please make sure that you have set up your project correctly and please double check your settings.
@Morimove
@Morimove Жыл бұрын
static files are not loading! my website is loading only html please help
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please read the pinned comment for more information.
@codewithom11
@codewithom11 Жыл бұрын
WIll this work for full stack website with django? with sqlite database?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Yes, it should work fine, but for confirmation, I'd suggest testing it.
@vinaymirchandani8013
@vinaymirchandani8013 8 ай бұрын
I just followed all steps but it is not working😔
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Please double check your steps.
@vinaymirchandani8013
@vinaymirchandani8013 8 ай бұрын
I checked but it might be due to my python 3.12 so I hosted on render. Thanks by the way😊
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
No worries! I'm glad that you managed to get things working with Render!
@harishsanthosh3861
@harishsanthosh3861 Жыл бұрын
Please help me i'll getting Not Found The requested resource was not found on this server
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please re-vist the steps, and double check everything.
@Said-n7o
@Said-n7o 5 ай бұрын
It works thanks
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
Glad that it works! My pleasure!
@grek9340
@grek9340 10 ай бұрын
Thank you so much 🥺
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
My pleasure!
@jessieyao135
@jessieyao135 Жыл бұрын
Hi the github is no longer available, is there anyway to reach to it?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, No, unfortunately not. As mentioned in the video, it is advised to use your own project. To make things easier and as a suggestion, you can mirror the directory structure as observed in the video.
@aronbahre8296
@aronbahre8296 Жыл бұрын
what about the database part . can you make it clear
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, By default Django already has an SQLite database integrated. There is nothing that you need to do.
@danilmakhmudov9081
@danilmakhmudov9081 Жыл бұрын
​@@CloudWithDjangoWhat if I have postgresql?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
PostgreSQL will work. I'd suggest using Railway or Render to create a PostgreSQL instance.
@saig9303
@saig9303 Жыл бұрын
Thanks a lot bro!!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@nataliachernysheva7780
@nataliachernysheva7780 Жыл бұрын
Wow, thank you!!!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
It is a pleasure!
@user-ip4kc3xr3f
@user-ip4kc3xr3f 8 ай бұрын
What was inside of git hub...how it was created..?
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Only a simple project was created beforehand.
@jaishankarrai6215
@jaishankarrai6215 Жыл бұрын
Tysm for this wonderful video
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! :) I'm glad that you enjoyed the video.
@shehrozzaidi4167
@shehrozzaidi4167 Жыл бұрын
How to I reactivate the virtualenv that I've already created ?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, It would depend on your machine. On Windows it will be something like: my_env_name\Scripts\activate On MacOS or Linux it should be something like: . my_env_name/bin/activate There are other ways, in which it can be done as well. So, you would need to research that, if the above doesn't work for you. Good luck!
@janing06
@janing06 Жыл бұрын
Hey CWD, external database is not working. I have postgresql from Render.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, I would recommend double checking your database settings. It's the only thing that it can be.
@janing06
@janing06 Жыл бұрын
@@CloudWithDjango I run it locally and external database is fine. Also I'm only using the free version of pythonanywhere.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, It might be best to use Native resources in this case. Meaning to deploy your application with Render, and use the database with Render only, and not to mix with PythonAnywhere.
@mr.anderson5393
@mr.anderson5393 Жыл бұрын
Thank you for the video. If you don't set the static and media file manually, it does not work, Also, my site would not run without secret key as well.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, My pleasure! Yes, you would need to use Amazon S3 or white noise for static and media files. Yes, that would be expected to occur - you shouldn't remove your secret key. if you want to hide it during the deployment process then you will need to set up environment variables for security.
@mirodilbekyuldashev3968
@mirodilbekyuldashev3968 Жыл бұрын
thank for videos sir but i command git clone it ask me username of github and password password and username is true but it didnt use
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, It's my pleasure. Ah, this usually happens when your repository is private. You would then need to generate a personal access token from github... this token will serve as the password. The username will remain the same... So, I'd recommend searching for info on generating a personal access token on Github... it should be straightforward
@shabnashabz6029
@shabnashabz6029 Жыл бұрын
Can i host more than one project at my free trail time
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, On the free-tier it would most likely be limited. I would suggest reading on PythonAnywhere more about that, or even trying to deploy multiple projects and to then see what happens.
@anushatippireddy3427
@anushatippireddy3427 8 ай бұрын
Really it helped a lot....
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
I'm very glad to hear that!
@knowledgenooklibrary
@knowledgenooklibrary 8 ай бұрын
but pictures which is in website not shown
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Please kindly refer to the pinned comment for further guidance on images
@prasadbojja932
@prasadbojja932 10 ай бұрын
thanks grate video
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
Thank you!
@iamthegeorgebest
@iamthegeorgebest Жыл бұрын
@cloudwithdjango Thank you for this, Mr Pretorius 🙏
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! :)
@Pralhad1711
@Pralhad1711 11 ай бұрын
IT not working for me 😢 Error:- Unhandled Exception
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Hi, Please double check the steps and your configuration.
@Pralhad1711
@Pralhad1711 11 ай бұрын
​@@CloudWithDjangonow file in not showing 😢
@lilaiyad2173
@lilaiyad2173 Жыл бұрын
my project size is 1.20 GB can it work on the free plan? also will the free plan always be free?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, The best way would be to test it, then you would know for sure. No, unfortunately not. For all free plans out there, there will always be a usage limit.
@lilaiyad2173
@lilaiyad2173 Жыл бұрын
@@CloudWithDjango thank you !
@CloudWithDjango
@CloudWithDjango Жыл бұрын
No worries :)
@kirinaeschbacher4528
@kirinaeschbacher4528 Жыл бұрын
Hi, mine is not working, can you maybe help me? Would appreciate it very much
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi Kirin, No worries. If you are struggling with PythonAnywhere, I'd recommend that you check out my other tutorial on deploying with Render.
@joseprincipe4578
@joseprincipe4578 5 ай бұрын
It's not working in python 3.12😢
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
Hi. Python 3.11 and 3.12 are not yet available.
@rz2128
@rz2128 Жыл бұрын
Hey! I followed the tutorial and had no issue but when i click on the domain I get an error message: Something went wrong :-( Something went wrong while trying to load this website; please try again later. If it is your site, you should check your logs to determine what the problem is. I don't know what to do, if you could give some guidance, I would be very grateful!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Thank you for reaching out, and for elaborating further. To be honest, I haven't tested this further with a domain name. I'd recommend having a look at the below documentation, perhaps it gives you some insight: help.pythonanywhere.com/pages/CustomDomains/ Also, please bear in mind that you will need to upgrade your website pricing plan eventually. Since, you will only have limited access to it on the free plan. Good luck!
@yurivasconcelos1816
@yurivasconcelos1816 Жыл бұрын
did you manage to solve?
@SajidD-e4g
@SajidD-e4g 11 ай бұрын
what about migrations and sqlit3 database file
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Hi, You should be able to make your migrations in the terminal shown. SQlite will be included by default if your django project contains it.
@munteanuantonia1415
@munteanuantonia1415 Жыл бұрын
Does anyone know if they have added higher versions of Python ?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Yes, PythonAnywhere does add higher versions as time goes. In order to see which versions are available, I'd suggest testing out the process with the video.
@munteanuantonia1415
@munteanuantonia1415 Жыл бұрын
Thank you very much !
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@adsoobregon9815
@adsoobregon9815 10 ай бұрын
THANKS MAN
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
My pleasure!
@csbina781
@csbina781 2 жыл бұрын
can we upload database app like potgrsql to python anyware?
@CloudWithDjango
@CloudWithDjango 2 жыл бұрын
Hi, Thank you for reaching out. You should be able too, but I'd recommend making use of AWS RDS and generate a postgres database there. It's much easier and more beneficial Good luck!
@csbina781
@csbina781 2 жыл бұрын
@@CloudWithDjango if yiu have tutorial or doc
@CloudWithDjango
@CloudWithDjango 2 жыл бұрын
@@csbina781 Yes, maybe this will help you. kzbin.info/www/bejne/bJrcdWSre8iSf9E All the best! :)
@dennyage4791
@dennyage4791 Жыл бұрын
Can i store my mysql database here as well
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi Denny, Yes, that would be possible. Here is some guidance on doing so: www.javatpoint.com/how-to-connect-mysql-to-django Good luck!
@hyakkimaru52
@hyakkimaru52 Жыл бұрын
Thank you so much!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@senior_s9978
@senior_s9978 Жыл бұрын
amazing ! thanks
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! Thank you, I'm glad that it helped you!
@deepakreigns5775
@deepakreigns5775 7 ай бұрын
@cloudWithDjango 05:33 ~ $ mkvirtualenv --python=/urs/bin/python3.12 venv FileNotFoundError: [Errno 2] No such file or directory: '/urs/bin/python3.12' 05:33 ~ $ im getting this error what i have done in this
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
Hi, Please double check your settings. And I'd suggest for now trying an alternate python version
@kareemelsonbaty9370
@kareemelsonbaty9370 6 ай бұрын
Unfortunately, pythonanywhere doesn't support python version 11 nor 12 yet.
@siddhantjadhav7441
@siddhantjadhav7441 Жыл бұрын
Tnx sir 😊😊😊
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@shobhitverma2592
@shobhitverma2592 Жыл бұрын
Can i upload backend here?? And only frontend??
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, The best way to check would be to try and deploy the way that you would like to deploy your project. You will then have your answer.
@ashutoshhear8649
@ashutoshhear8649 Жыл бұрын
thanks its work for me
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that you managed to get everything working!
@Artsmas
@Artsmas Жыл бұрын
It worked for python 3.11 version ?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, You would need to test it and take a look.
@Faria_Est_En_Route
@Faria_Est_En_Route Жыл бұрын
Does it support 3.10 now?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, You would need to check and see if PythonAnywhere has added later versions on their platform.
@Faria_Est_En_Route
@Faria_Est_En_Route Жыл бұрын
@@CloudWithDjango Hello! I'm so glad to let you know that they have added python 3.10. And I have successfully deployed my Django site on this platform by following your tutorial! Thank you so much! I'm eternally grateful to you!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
@Faria_Est_En_Route Hi, I appreciate you letting me know. I'm very glad to hear that you managed to get your application deployed with Python 3.10 on PythonAnywhere. No problem at all, It is a great pleasure! All the best to you!
@makethattrend
@makethattrend Жыл бұрын
Great tutorial. I encountered a problem though images and static files like css and JS where not available on my website
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you for your feedback. Ah, you will need to either look into whitenoise or Amazon S3 to manage your static files separately. Good luck!
@dharunap9906
@dharunap9906 Жыл бұрын
​@@CloudWithDjango can you clearly explain how to make static files work in here?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please read the pinned comment for further information.
Deploy a Django web app to Digital Ocean
59:40
Cloud With Django
Рет қаралды 1,3 М.
Deploy a Django web app to Vercel [FREE]
18:21
Cloud With Django
Рет қаралды 87 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 9 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 1,7 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 37 МЛН
Deploy a Django web app on Amazon EC2
21:47
Cloud With Django
Рет қаралды 103 М.
How to Deploy a Django App and Postgres Database to Render
20:14
Pretty Printed
Рет қаралды 40 М.
The 4 best ways to deploy a Django application
7:01
London App Developer
Рет қаралды 123 М.
Deploy Django Website To PythonAnywhere
12:03
Benjamin Carlson
Рет қаралды 36 М.
Deploy a Django web app to Python Anywhere in 5 Mins [FREE]
9:26
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 1,5 МЛН
Deploy a Django Web App on PythonAnywhere.
16:11
Code With Clinton
Рет қаралды 30 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 111 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 9 МЛН