Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I finished up a project of mine (blog), and uploaded it to heroku. Everything works fantastically on my local setup, and I wanted to see if it looked good on heroku. The site is jmnewman.herokuapp.com if you want to check it out.

On the site, the red button is supposed to be a javascript easing function. Instead of gliding through the page, it just drops you there. The navbar is supposed to collapse and follow you on the page, but it is invisible and doesn't show up. And if you go to the blog section, you don't see the angular that is supposed to be showing up on the page.

I have deployed to heroku a lot, so I knew I was going to have some initial problems in deploying it. So in my production.rb I put;

config.serve_static_assets = true
config.assets.compile = true
config.assets.precompile += %w( 'application.js', 'application.css' )

I also ran

rake assets:precompile

The thing that is strange to me, is most of the site works just like it is supposed to, but some parts (navbar, javascript easing, and angular) do not work. I also ran

heroku log

And nothing showed up indicating an error.

Any help with anything I may have overlooked or things I could add would be great. Thanks for the help.

EDIT I was able to get angular working. I am using active admin for a custom set up, and on production, it drops all of the data in the panel. I was pending migrations that I didn't know about. So angular works, but javascript and (some) CSS still doesn't.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.