Django one-click install or deploy local app to a VPS

February 25, 2015 2.4k views

Hi.

I am considering using Digital Ocean for a new Django app I will begin developing soon. I will perhaps have several apps deployed on the same VPS in the future.

Do you recommend using the "one-click install" or developing local and then deploy. Maybe you can do both, I don't know. I am new to deployment.

I will be using git for pushing files to the VPS.

Thanks in advance.

Christopher

2 comments
  • If you want to learn how to setup the Django framework on your VPS and then install it all yourself, then don't use the "one click install" feature when creating a droplet. If you'd rather skip this process and have Django ready to go straight away on your VPS, then do use the one click install feature.

    You will learn more and have more control over things if you setup Django yourself on the VPS, but it might be more convenient to just have it already installed so you can start utilising it.

    As for deploying you can easily develop your Django app locally and then use Git to push the files to your VPS like you said. Can't think of a reason why you wouldn't be able to do this and it makes sense to do so.

    Hope this is on the right track, and helps somewhat.

  • Also this DO tutorial may be of interest to you:

    How To Deploy a Local Django App to a VPS

    by Stephen Tippets
    Here you'll learn how to deploy a local Django app to a VPS.
1 Answer

This question was answered by @5car1z:

If you want to learn how to setup the Django framework on your VPS and then install it all yourself, then don't use the "one click install" feature when creating a droplet. If you'd rather skip this process and have Django ready to go straight away on your VPS, then do use the one click install feature.

You will learn more and have more control over things if you setup Django yourself on the VPS, but it might be more convenient to just have it already installed so you can start utilising it.

As for deploying you can easily develop your Django app locally and then use Git to push the files to your VPS like you said. Can't think of a reason why you wouldn't be able to do this and it makes sense to do so.

Hope this is on the right track, and helps somewhat.

View the original comment

Have another answer? Share your knowledge.