top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to use css on heroku?

+1 vote
484 views

I have problem on stylesheet. When I use it on local machine it work properly, but when I deployed it to heroku my style doesn't work. How do I fix this?

posted Jun 9, 2014 by Vijay Shukla

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Have a google for rake assets:precompile. You will need to trigger that on Heroku, and I don't remember how that happens, or if there's a setting you have to engage to make it automatic.

And of course style.css would have to be on the list of assets to precompile.

answer Jun 10, 2014 by Sonu Jindal
Similar Questions
+1 vote

I deployed one small app in heroku built on ROR, now I want to send mails. How is it possible can anyone give me a details how to do it.

+1 vote

In my local machine I had input some data into database using SQLite3 . When I deployed it to heroku why I can't get data that i input?

I'm doing like this

-in Gemfile
group :development do
 gem 'sqlite3'
end
group :production do
 gem 'pg'
 gem 'rails_12factor'
end
-bundle install
-heroku login
-git init 
-git add .
-git commit -m "test"
-git create
-git push heroku master
-heroku run rake db:migrate

How can I get some data when I deployed it to heroku? Please help me.

+1 vote

Is there a file storage on heroku(other than s3), for the files uploaded in app.

+2 votes

I have installed the Heroku on my workspace, however when I type any command, for example- heroku login or heroku version , it just shows the command- "heroku-cli: Installing core plugins..." and keep doing the same until I stop the installation manually.

Can somebody help me with what the actual issue is and how I can deploy the app on heroku!

+2 votes

I have found a html template where I some pages need specific css files and of course there are some common css files.

How can I best deal with it ?

...