Re: Help - Django App on Heroku & local dev machine

2014-05-28 Thread Kelvin Wong
Clone the app locally

http://stackoverflow.com/questions/1872113/how-do-i-clone-a-github-project-to-run-locally

Create a virtualenv

http://virtualenv.readthedocs.org/en/latest/virtualenv.html#usage

Install your requirements

$ pip -r your_app_path/requirements.txt

Run the dev server

https://docs.djangoproject.com/en/1.6/ref/django-admin/#runserver-port-or-address-port

To get the code back on the machine, look for a fabfile and use it, or just 
push to origin and update it manually over SSH.

If you don't already know Python or Django, I'd recommend

http://www.diveintopython.net/

https://docs.djangoproject.com/en/1.6/intro/tutorial01/

K

On Wednesday, May 28, 2014 7:03:04 AM UTC-7, Dr Shauny wrote:
>
> Hi,
>
> I have a Django app already deployed and fully functional on Heroku. The 
> app was purchased from a third party that transferred the codebase via 
> github.
>
> I need to make changes and redeploy the app but understand that this is 
> not possible (or advisable) directly from github itself.
>
> I therefore need to set up a local development environment for the app 
> from where I can deploy changes to the github repository and also deploy 
> updates to the installation on Heroku.
>
> Heroku have an article that explains how to create a new app and upload 
> this to Heroku ("Getting started with Django on Heroku") , however many of 
> the details appear to be for a new app rather than for my situation where I 
> already have a fully functional app. I am unsure as to what I should and 
> shouldnt do as I am unclear about the relevancy of some of the instructions.
>
> Can anyone walk me through the process of transferring an app from github 
> to a local machine so that I can dev on the local machine. OS would be 
> ubuntu 12.04 and ideally want to set up dev and prod repos on github (and 
> eventually dev and prod apps on heroku). I believe I have done most of the 
> local work with postgres, python virtualenv, heroku and django toolbelts 
> etc, but would really appreciate an expert to bounce some queries off?
>
> Anyone able to help?
>
> S.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/05347d8b-a4f2-46e2-b0a6-08dedd4edf2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help - Django App on Heroku & local dev machine

2014-05-28 Thread Dr Shauny
Hi,

I have a Django app already deployed and fully functional on Heroku. The 
app was purchased from a third party that transferred the codebase via 
github.

I need to make changes and redeploy the app but understand that this is not 
possible (or advisable) directly from github itself.

I therefore need to set up a local development environment for the app from 
where I can deploy changes to the github repository and also deploy updates 
to the installation on Heroku.

Heroku have an article that explains how to create a new app and upload 
this to Heroku ("Getting started with Django on Heroku") , however many of 
the details appear to be for a new app rather than for my situation where I 
already have a fully functional app. I am unsure as to what I should and 
shouldnt do as I am unclear about the relevancy of some of the instructions.

Can anyone walk me through the process of transferring an app from github 
to a local machine so that I can dev on the local machine. OS would be 
ubuntu 12.04 and ideally want to set up dev and prod repos on github (and 
eventually dev and prod apps on heroku). I believe I have done most of the 
local work with postgres, python virtualenv, heroku and django toolbelts 
etc, but would really appreciate an expert to bounce some queries off?

Anyone able to help?

S.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dd028ed1-7984-4ec5-822e-72da463640e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.