Re: confused about best practices for CNAME records

2012-04-03 Thread John McCaffrey
I don't think of it as heroku suggesting that you have to do it with a
CNAME, but Neil's post highlights why you might want to.
 
http://neilmiddleton.com/the-**dangers-of-a-records-and-**heroku

I think of it like apple including their 'time machine' backup software
means you'd buy a backup drive. They aren't saying you absolutely have to
do it, but its a good idea for a variety of reasons.

You can use an A record and the ip addresses, it will work fine, but if
there is an outage and they have to bring your app up on other IPs, you'll
at least have a heads up for what you can do about it.

Personally I like dnsimple.com, so I don't think of it as an extra thing I
have to do, but as an extra reason I like their service, like they are
helping me manage my app in a way that stays current with hosting on a
cloud solution like heroku, openshift, cloudbees, etc.

On Tue, Apr 3, 2012 at 7:32 PM, Justin Collum  wrote:

> So to use Heroku the way they'd like me to -- without an A record pointing
> to an IP address -- I'll have to use a third party paid service? What the
> heck. The fact that Heroku suggests doing this while the spec doesn't
> support it without workarounds makes me question how important it is. This
> DNS thing has been doing it the same way for quite some time.
>
> I think I'll just use the A record until we run into a problem. This app
> won't be hurt if it's offline for a half day.
>
>
> On Tuesday, April 3, 2012 1:49:43 AM UTC-7, Neil Middleton wrote:
>>
>> Ideally you want everything to be a CNAME of your Heroku URL (
>> app.herokuapp.com etc).  The problem is is that the DNS spec doesn't
>> allow the Apex domain to be CNAME'ed.  The solution is to use Zerigo or
>> DNSimple who provide workarounds.
>>
>> Full writeup here:  http://neilmiddleton.com/the-**
>> dangers-of-a-records-and-**heroku/
>>
>>
>> Neil
>>
>> On Tuesday, 3 April 2012 at 01:24, Justin Collum wrote:
>>
>> Hi, I have an app that's set up at http://gentle-wind-.**
>> herokuapp.com/ . On my 
>> hover.comaccount in the DNS I have two records:
>>
>> WWW CNAME 
>> www.gentle-wind-.**herokuapp.com
>>
>> URL CNAME gentle-wind-.herokuapp.com**   # (I'm not sure if this one
>> is right/valid)
>>
>> The app is browsable at gentle-wind-.herokuapp.com**, but the
>> redirected URL (http://myapp.com) is giving me this message:
>>
>> *Heroku | No such app*
>>
>>
>>
>> So I'm confused about how I should be setting this up. Usually I just do
>> A records that point to an IP, but after reading the article on heroku
>> about that I decided that an A record was not a good idea. So I'd like to
>> set this up with a www domain and a top level domain that redirects to www.
>> How should I set up my CNAME records to achieve this?
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" group.
>> To view this discussion on the web visit https://groups.google.com/d/**
>> msg/heroku/-/uSGwjEBAFcoJ
>> .
>> To post to this group, send email to heroku@googlegroups.com.
>> To unsubscribe from this group, send email to heroku+unsubscribe@**
>> googlegroups.com .
>> 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 view this discussion on the web visit
> https://groups.google.com/d/msg/heroku/-/zOT0PRhHGI0J.
>
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>



-- 
Thanks,
-John

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Cedar push taking a long time

2012-04-03 Thread Ricardo Trindade
Hi,

We moved an application from Bamboo to Cedar, and everything has been
working great. However, our git pushes, which used to take only a few
seconds, are now taking about 2 minutes.

Is this usual/expected ?

best regards,
Ricardo

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: confused about best practices for CNAME records

2012-04-03 Thread Justin Collum
So to use Heroku the way they'd like me to -- without an A record pointing 
to an IP address -- I'll have to use a third party paid service? What the 
heck. The fact that Heroku suggests doing this while the spec doesn't 
support it without workarounds makes me question how important it is. This 
DNS thing has been doing it the same way for quite some time.  

I think I'll just use the A record until we run into a problem. This app 
won't be hurt if it's offline for a half day. 

On Tuesday, April 3, 2012 1:49:43 AM UTC-7, Neil Middleton wrote:
>
> Ideally you want everything to be a CNAME of your Heroku URL (
> app.herokuapp.com etc).  The problem is is that the DNS spec doesn't 
> allow the Apex domain to be CNAME'ed.  The solution is to use Zerigo or 
> DNSimple who provide workarounds.
>
> Full writeup here:  
> http://neilmiddleton.com/the-dangers-of-a-records-and-heroku/
>
>
> Neil
>
> On Tuesday, 3 April 2012 at 01:24, Justin Collum wrote:
>
> Hi, I have an app that's set up at http://gentle-wind-.herokuapp.com/. 
> On my hover.com account in the DNS I have two records: 
>  
> WWW CNAME www.gentle-wind-.herokuapp.com
>  
> URL CNAME gentle-wind-.herokuapp.com   # (I'm not sure if this one is 
> right/valid)
>  
> The app is browsable at gentle-wind-.herokuapp.com, but the 
> redirected URL (http://myapp.com) is giving me this message: 
>  
> *Heroku | No such app*
>
>  
>
> So I'm confused about how I should be setting this up. Usually I just do A 
> records that point to an IP, but after reading the article on heroku about 
> that I decided that an A record was not a good idea. So I'd like to set 
> this up with a www domain and a top level domain that redirects to www. How 
> should I set up my CNAME records to achieve this? 
>
>  
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/heroku/-/uSGwjEBAFcoJ.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/zOT0PRhHGI0J.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: problem with the heroku-toolbelt

2012-04-03 Thread Ryo
Hello sir,
I'm using window 7 32 bit, i download toolbelt, do the same as
instruction, i also try "chcp 850" from cmd.exe as  a solution, but
there's no luck
Thank you sir

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: problem with the heroku-toolbelt

2012-04-03 Thread Ryo
Hello Sir,
I'm using window 7 (32 bit)
i just download the toolbelt and install it as in the document, i try
something like "chcp 850" from the cmd.exe as the solution but it
helps nothing
Thank you sir,

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Optimizing production sites -- expires headers and Gzip

2012-04-03 Thread Rampant Fleecer
Hi Ryan, did you ever find a way to do this?

I found an answer that said all heroku files are gzipped automatically, but 
that was back in 2009. Now when I look at the HTTP headers of my page it 
doesn't say they are gzipped.
I am using php and my local version works fine, I have a root file 
.htaccess with the following in it, but if I view the phpinfo(); under Phar 
it says. I think this is why the files aren't being gzipped, but I don't 
know how to install the zlib extension. 

gzip compressiondisabled (install ext/zlib)
*.htaccess File contents:*


php_value zlib.output_compression on


AddHandler application/x-httpd-php .js
php_value default_mimetype "text/javascript"



AddHandler application/x-httpd-php .css
php_value default_mimetype "text/css"



AddHandler application/x-httpd-php .xml
php_value default_mimetype "text/xml"



Any help would be much appreciated!



On Monday, May 12, 2008 6:46:14 AM UTC+2, ryanaip wrote:
>
> Is it possible to enable expires headers and gzip-ing of css and 
> javascript files for production/blessed heroku sites?  I have a site 
> whose largest component is a static javascript file, so it seems a 
> waste of bandwidth to download the file every time a user goes to a 
> new page.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/5F3fjX7wTfQJ.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: problem with the heroku-toolbelt

2012-04-03 Thread Phil Hagelberg
On Apr 2, 8:36 pm, Ryo <55p6.3...@gmail.com> wrote:
> Today i downloaded the heroku-toolbelt, installed it and follow the
> instruction in the document, but the first time when i run the command
> 'heroku' from my cmd.exe window, i get the following error message

Can you provide details about your installation? What version of your
OS are you using?

-Phil

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: WARNING: Cannot replace DATABASE_URL ...

2012-04-03 Thread James Ward

Make sure you have the DATABASE_URL env var by doing:

heroku config

And check that you have the shared-database addon by doing:

heroku addons

Let me know if that helps.

-James


On 04/02/2012 09:06 PM, jwe4 wrote:

I'm attempting to deploy a play app to heroku on the free shared
database.  I get

...
  Listening for transport dt_socket at address: 8100
Apr 3, 2012 2:52:04 AM play.Logger warn
WARNING: Cannot replace DATABASE_URL in configuration (db=$
{DATABASE_URL})
02:52:05,006 INFO  ~ Starting /tmp/build_1xcwhmanrc8yy
02:52:05,011 INFO  ~ Module crud is available (/tmp/
build_1xcwhmanrc8yy/modules/crud)
...

as directed in the tutorial I have added to the end of my
application.conf

db=${DATABASE_URL}
jpa.dialect=org.hibernate.dialect.PostgreSQLDialect
jpa.ddl=update


Any ideas on what I've missed



--
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



problem with the heroku-toolbelt

2012-04-03 Thread Ryo
Hello everyone,
Today i downloaded the heroku-toolbelt, installed it and follow the
instruction in the document, but the first time when i run the command
'heroku' from my cmd.exe window, i get the following error message

C:/Program Files/Heroku/bin/heroku:15:in `[]': code converter not
found (UTF-16LE to Windows-1258) (Encoding::ConverterNotFoundError)
from C:/Program Files/Heroku/bin/heroku:15:in `'

And there is no login at all, i stuck here for hours before writing
this email
I hope to receive your assistance in this case.
Thank you ,

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Alpha testers needed for Cloudinary add-on (image management in the cloud)

2012-04-03 Thread Nadav
Hi,

Cloudinary is a SaaS that offers a solution to the entire image
management pipeline. Easily upload images to the cloud. Automatically
perform smart image resizing, cropping and conversion without
installing any complex software. Integrate Facebook or Twitter profile
image extraction in a snap, in any dimension and style to match your
website’s graphics requirements. Seamlessly deliver images through a
fast CDN.
Cloudinary offers comprehensive APIs and administration capabilities
and is easy to integrate with any web application.

We have a new add-on for Heroku users for complete image management of
their web applications. Any dev platform is supported by using simple
URL based and HTTP based APIs. Specifically we have a Ruby GEM for
even simpler integration for Rails.

We need Alpha testers to try our Heroku add-on. It would be great to
get your feedback.

If you are interested, please send your Heroku user (email) as reply
to this post or email at us i...@cloudinary.com
You can also contact us through our web site: http://cloudinary.com

Thank you!
Nadav

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Can not syncdb with Django project

2012-04-03 Thread Xiang Wang
*Here is the logs:

heroku run hellodjango/manage.py syncdb
Running hellodjango/manage.py syncdb attached to terminal...  !
 !Timeout awaiting process

*
On Tue, Apr 3, 2012 at 11:23 AM, Xiang Wang wrote:

> *I just can not syncdb within django project.
> It always reports timeout, but I can do it in local.
>
> And I do not ensure that if the GFW blocked that http request raised by
> heroku command line.
> Is there any way to use heroku command line under a http proxy?
> or Any other suggestions?
> *
> --
>
> *Best Regards~*
>
>
>
> *Xiang Wang*
>
> *CDC, TrendMicro*
>
>


-- 

*Best Regards~*



*Xiang Wang*

*CDC, TrendMicro*

-- 
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 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: confused about best practices for CNAME records

2012-04-03 Thread Neil Middleton
Ideally you want everything to be a CNAME of your Heroku URL (app.herokuapp.com 
etc).  The problem is is that the DNS spec doesn't allow the Apex domain to be 
CNAME'ed.  The solution is to use Zerigo or DNSimple who provide workarounds.

Full writeup here:  
http://neilmiddleton.com/the-dangers-of-a-records-and-heroku/


Neil


On Tuesday, 3 April 2012 at 01:24, Justin Collum wrote:

> Hi, I have an app that's set up at http://gentle-wind-.herokuapp.com/. On 
> my hover.com (http://hover.com) account in the DNS I have two records: 
>  
> WWW CNAME www.gentle-wind-.herokuapp.com 
> (http://www.gentle-wind-.herokuapp.com)
>  
> URL CNAME gentle-wind-.herokuapp.com 
> (http://gentle-wind-.herokuapp.com)   # (I'm not sure if this one is 
> right/valid)
>  
> The app is browsable at gentle-wind-.herokuapp.com 
> (http://gentle-wind-.herokuapp.com), but the redirected URL 
> (http://myapp.com) is giving me this message: 
>  
> Heroku | No such app
>  
> So I'm confused about how I should be setting this up. Usually I just do A 
> records that point to an IP, but after reading the article on heroku about 
> that I decided that an A record was not a good idea. So I'd like to set this 
> up with a www domain and a top level domain that redirects to www. How should 
> I set up my CNAME records to achieve this? 
>  
> 
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/heroku/-/uSGwjEBAFcoJ.
> To post to this group, send email to heroku@googlegroups.com 
> (mailto:heroku@googlegroups.com).
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com 
> (mailto:heroku+unsubscr...@googlegroups.com).
> 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 heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.