Hi Chetan,
Thank you very much. I’ll go through these resources and let you know how it 
went.

Sent from my iPhone

> On Apr 29, 2019, at 2:58 PM, Chetan Ganji <ganji.che...@gmail.com> wrote:
> 
> 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.
> Simplest alternative is given below.
> https://bitnami.com/stack/django/installer
> 
> 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.
> https://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi
> 
> 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.
> https://www.youtube.com/watch?v=s0RX_YU9eJM 
> https://www.youtube.com/watch?v=VnR5O4IjmOs
> 
> Hope it helps. 
> 
> 
> Regards,
> Chetan Ganji
> +91-900-483-4183
> ganji.che...@gmail.com
> http://ryucoder.in
> 
> 
>> On Tue, Apr 30, 2019 at 12:05 AM Vamsi <vamsidhar.tanguto...@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,
>> Vamsi
>> 
>> Sent from my iPhone
>> 
>>> On Apr 29, 2019, at 1:06 PM, Chetan Ganji <ganji.che...@gmail.com> wrote:
>>> 
>>> Hi 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.
>>> https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
>>>  
>>> 
>>> 
>>> 
>>> Regards,
>>> Chetan Ganji
>>> +91-900-483-4183
>>> ganji.che...@gmail.com
>>> http://ryucoder.in
>>> 
>>> 
>>>> On Mon, Apr 29, 2019 at 9:46 PM Vamsi tangutoori 
>>>> <vamsidhar.tanguto...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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.

-- 
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+unsubscr...@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/63958592-283A-4F77-B37A-C052DEC90B98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to