You'll probably want to add

Stop mongrels before pull
Run "rake db:migrate"

somewhere in step 3.

You should run the migration every time since it doesn't cause issues if
there isn't anything for it to do and you avoid issues for when there is a
database update (like last Friday's release for PageView).

I'll probably put together a blog post or something that describes how we're
handling the Insoshi deployment to dogfood.

Long

On Wed, Jun 11, 2008 at 7:51 PM, Antony Evans <[EMAIL PROTECTED]> wrote:

>
> Updating my deployed website is now a very simple process if you
> follow the instructions outlined above:
>
> 1.  Git commit -a -m "your message"  (assuming you want to commit all
> adds, and add the message this way)
> 2.  Git push <mygitaccount> localcopy
> 3.  Putty into my remote folder and type 'git pull'
> 4.  Restart mongrels using virtualmin (this obviously depends on your
> setup).
>
> Yippie doo-da!!
> >
>


-- 
Long Nguyen
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

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

Reply via email to