Report this

What is the reason for this report?

how to clone a django app from my laptop to my server without github or bitbucket?

Posted on April 8, 2017

I have a django app on my laptop and I don’t have github or bitbucket. I want to clone the app from my laptop to my server without github or bitbucket? is it possible?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Of course, yes.

You can use first compress your app on your laptop using this command tar -zcf my-django-app.tar.gz <my-django-app> where <my-django-app> is the name of the directory where your app is located then you can upload it to your server using scp my-django-app.tar.gz <user name>@<server ip> where <user name> is your name on the server and <server ip> is the public IP address of your server then on your server you can uncompress it using tar -zxf my-django-app.tar.gz.

Hope this helps.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.