Z
Z
zelsky2015-05-14 09:02:22
Django
zelsky, 2015-05-14 09:02:22

Django project deployment?

I can't find a good guide on how to deploy a Django project from git to pythonanywhere. Please share. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Postalus, 2015-05-14
@Postalus

Maybe from GitHub?

Open a new Bash console under Start new console / Other.
You can now clone your GitHub project by typing: git clone into the console. If you want to copy and paste the repo URL, here's how to copy/paste into the console. Use the https URL if you haven't set up SSH keys on PythonAnywhere; the process for setting up SSH keys here is just the same as it is on a Linux machine -- see GitHub's help pages for more information.
Once the clone is complete, cd into the newly-cloned directory to have a look at the result. You can use pretty much all Bash commands and built-ins in the console.

V
Vladisus, 2015-05-14
@Vladisus

www.tangowithdjango.com/book17/chapters/deploy.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question