Linux is very easy to get started, as a web developer, all the code that you write will end up on a linux server eventually.
It would be very good idea to start learning linux immediately. You will require that skill in the near future.
None would want to pay the price of windows server when Linux is FREE ;-)
However, for the time being, please dabble with apache + modwsgi for windows. I dont remember exact resources I used to deploy on window.
One thing I remember is modwsgi is dependant on the python version i.e. different python versions require modwsgi to be built for that specific version.
Try some the ones listed in below link, if they don't work, you have to search online for that.
Some tuts from youtube. I havent checked them yet so do your R&D. Follow the steps that they have shown i the video to see if it works.
Hope it helps.
On Tue, Apr 30, 2019 at 12:05 AM Vamsi <vamsidhar.tangutoori@gmail.com> wrote:
Hi Chetan,--Thanks for the quick reply. Linux is not an option for me as I am not well versed in it. Is it possible for you to give me some resource for windows.Thanks and regards,VamsiSent from my iPhoneHi Vamsi,For No 1 - You can create a REST API using django or (django + django rest framework).For No 2,3,4 - For production you have to user Apache + modwsgi or nginx + gunicorn (or other wsgi compliant server for python).I dont suggest windows for production. If you plan to use it on linux, below is the tutorial. I have used it many times for deployments.--On Mon, Apr 29, 2019 at 9:46 PM Vamsi tangutoori <vamsidhar.tangutoori@gmail.com> wrote:Hi Everyone,--I am new to django and python programming. I developed a facial recognition module in python using boto3 library. Currently I sued flask to create an API and test in my development environment but to move it to production i need to use django. Can you please help or point me in the right direction as to how do i do the below.1. Take my facialrecognition.py file and convert it into an API, preferably using django.2. Make this API to be pointing to a specific URL(locally on a windows machine).3. Deploy this code into a production machine(windows).4. Make sure that the API starts every time the windows machine starts to avoid loosing service.Things i researched so far are:1. How to create a django project with its REST library.2. From the articles and tutorials i found out that this is only development version, to deploy in production i need a production server like Apache etc. is this necessary?Thanks in Advance for your help.Vamsi.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/17aa8268-0fd8-4095-a5bb-82e68eecf186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUjvsqqRLp-6btfhV951gqwq5t1AehKsCgsER2UFuFfhMbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/A674A3E5-E0DB-45A2-BA90-8B1C7D6CD71D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUjtsHib2w5LC19fX9j6F90OXYA7vi_gnSTSZLm7Pxy7uSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment