Hi,

As an alternative, you may want to keep the hit directory around

git co -b production #create a Heroku branch
git remote add heroku git:// ... Heroku ...

You will need to setup the default destination for this branch (I  
defer to what ever suggestions the git command provides)

Make sure you checking your Heroku specific changes under the  
production branch, not master.

This way you can pull/push changes for the community to enjoy.

When I was working with lovdbyless, I wish I had branched earlier. It  
is a little tricky merging in the code changes to master that are  
appropriate for the rest of the nests community, but it will be a good  
lesson in selective merging. (I'd give advice but I failed the lesson  
and ended up just keeping 2 different directories around)

Best of luck.
Keenan

On Dec 26, 2009, at 7:13 PM, jd <[email protected]> wrote:

> Hi. Just a quick note for those using or willing to use Nesta on
> Heroku: you must disable the caching system, so you may replace
>
> set :cache_enabled, Nesta::Configuration.cache
>
> in app.rb by:
>
> configure :production do
>  # this will be runned at heroku's dyno startup
>
>  # let's disable Nesta's caching system so Heroku's happy
>  set :cache_enabled, false
> end
>
> I'd recommend the following process to set up a Nesta instance on
> Heroku:
> 1. git clone nesta from github
> 1.bis cd inside
> 2. remove the .git directory and .git_ignore
> 3. create a fresh git repos: git init, git add ., git commit -am
> "fresh start"
> 4. create your new project on Heroku: heroku create your_project
> 4.bis update config/config.yml and do not forget to set cache to false
> in the production section
> 5. push from your machine to Heroku: git push heroku master
> 6. Start managing your content in Nesta, then git commit -am "…" and
> git push heroku master when you're ready, and so on.
>
> NB: Nesta is a simple CMS engine built on top on Sinatra (http://
> effectif.com/nesta). Kind of a _why feeling to it, doesn't get in your
> way. And with Mustache, publishing's a cinch!
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "Heroku" 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/heroku?hl=en 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.


  • Nesta jd
    • Re: Nesta Keenan Brock

Reply via email to