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.

Reply via email to