Question

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

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?

Subscribe
Share

@mohkof1106 Did my answer help you?


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