Hi DAZ,

(I'll post this to the list in case someone finds it helpful.)

You can import the app back into Heroku but it's much more 
fun (IMO/YMMV) to use git. There are some great tutorials 
and screencasts about how to use git but here's a workflow 
that I typically use (I develop locally and deploy to Heroku 
using git):

If I change anything using Heroku's editor:
        Click Revisions
        Add a comment about what I changed
        Click commit button
This keeps the revisions on Heroku and my local machine in 
sync. Then on my local machine, using a command line 
interface in the root directory of my app:
        git pull
        <enter my passphrase>
Do whatever I want locally, add files, remove files, modify 
files, then when I'm finished and want to push it back to 
Heroku, I go back to the command line interface (terminal or 
Windows' cmd) in the working directory of my app and:
        git status (lists files modified, removed, added)
        git add <filename> (for each file modified)
        git rm <filename> (for each file removed)
        git add <filename> (for each new file added)
        git commit -v -a (add comment about what changed)
        git push
        <enter my passphrase>
Seems like a lot of work but it works well enough for me and 
I have a revision history. I can branch, go back, etc. I'm 
hoping that Heroku or some other software/script will add 
the capability to rollback to a previous version.

Kevin

DAZ wrote:
> Kevin:
> when you say
> "add the files to the git repository, commit the changes, push the
> app"
> 
> what do you mean? Is this just importing the app back into heroku?
> 
> thanks,
> 
> DAZ
> 
> 
> On Apr 27, 5:23 pm, Kevin Triplett <[EMAIL PROTECTED]> wrote:
>> Until there is a feature that allows multiple file upload,
>> your method is probably the quickest/only way: create the
>> app, clone the app, add the files, add the files to the git
>> repository, commit the changes, push the app, done. Lot of
>> steps but for a one-time deal not bad. I develop primarily
>> locally and will use the Heroku editor when I'm away from my
>> development machine. Maybe a multiple file upload is one of
>> the enhancements being considered.
>>
>> Kevin
>>
>> DAZ wrote:
>>> I've found that downloading an app, then using drag and drop on the
>>> desktop, then uploading it back again is the quickest option, but
>>> surely it can't be that hard to make transferring multiple files
>>> easier from within the code editor itself?
>>> DAZ
>>> On Apr 19, 4:58 pm, DAZ <[EMAIL PROTECTED]> wrote:
>>>> Is it possible to upload lots of files at once?
>>>> I have a number of CSS files that I usually use each time I start a
>>>> project and it is a pain uploading them one by one....
>>>> DAZ
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to