Django production deployment on my VPS

26 views
Skip to first unread message

Kamal Sharma

unread,
Jun 30, 2018, 11:24:12 PM6/30/18
to Django users
Dear Django community,

I have developed my django application but i am facing problem to deploy it on my "virtual private server". And tutorial of production deployment are making me so confuse so i am unable to deploy it.
Can you please share with me the steps to deploy my django project on production with VPS.

Your immediate action will be highly appreciated.

Thanks

Kamal Sharma

Gerardo Palazuelos Guerrero

unread,
Jul 1, 2018, 12:15:29 AM7/1/18
to django...@googlegroups.com
--
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...@googlegroups.com.
To post to this group, send email to django...@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/095a451f-4b0a-49e6-8d2a-baa3f53832c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kamal Sharma

unread,
Jul 3, 2018, 2:05:02 AM7/3/18
to django...@googlegroups.com
is this production environment with gunicorn and nginx is robust, can i develop a big portal and deploy into it with no problem??

Kamal Sharma

unread,
Jul 3, 2018, 3:07:02 AM7/3/18
to django...@googlegroups.com
Hi Gerado Palazuelos Guerrero, 

Thanks a lot is is working fine for me, now i am able to deploy my django project on production server.  But i have some questions related to the same, that how can i deploy my changes from local to production, can it is possible by copy my django app from local to production by winSCP and then i run???

Please help me 

Thanks

Kamal Sharma

On Sun, Jul 1, 2018 at 9:45 AM Gerardo Palazuelos Guerrero <gerardo.p...@gmail.com> wrote:

Gerardo Palazuelos Guerrero

unread,
Jul 3, 2018, 3:15:15 AM7/3/18
to django...@googlegroups.com
hi Kamal,
In the course I did, we moved files using FTP.
In reality, you can use SSH / SCP, FTP or git repository (on the latter, remember to avoid uploading any sensitive info to repository).

Whatever method you use, please consider first setting up a firewall and proper firewall rules to minimize attacks.

I hopes that helps.
Gerardo.




--
Gerardo Palazuelos Guerrero


On Tue, Jul 3, 2018 at 1:06 AM, Kamal Sharma <kamal...@gmail.com> wrote:
Hi Gerado Palazuelos Guerrero, 

Thanks a lot is is working fine for me, now i am able to deploy my django project on production server.  But i have some questions related to the same, that how can i deploy my changes from local to production, can it is possible by copy my django app from local to production by winSCP and then i run???

Please help me 

Thanks

Kamal Sharma

On Sun, Jul 1, 2018 at 9:45 AM Gerardo Palazuelos Guerrero <gerardo.p...@gmail.com> wrote:
hi Kamal,
I found this link as part of a django training I did in a udemy course (https://www.udemy.com/the-ultimate-beginners-guide-to-django-python-web-dev-website).

Link is:

I hopes that helps you.
Gerardo.



El 30/06/2018, a la(s) 21:22, Kamal Sharma <kamal...@gmail.com> escribió:

Dear Django community,

I have developed my django application but i am facing problem to deploy it on my "virtual private server". And tutorial of production deployment are making me so confuse so i am unable to deploy it.
Can you please share with me the steps to deploy my django project on production with VPS.

Your immediate action will be highly appreciated.

Thanks

Kamal Sharma

--
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.

--
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.

--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Vinicius Assef

unread,
Jul 3, 2018, 8:06:27 AM7/3/18
to django...@googlegroups.com
The first thing you really should install in your VPS server is fail2ban.

Read about it.
> https://groups.google.com/d/msgid/django-users/CAByCWTRdssb0rROxHGc4a%3D6JUBtfdDFGchbVotTtZraS12iqPg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages