vendredi 25 janvier 2019

Custom styling not transferring over properly when deploying to Heroku

We have a rails app with an EmberJS frontend that we just deployed to Heroku, but our styling got messed up when it was deployed. The images, Bootstrap, and Ember-Paper show up properly, but the styling does not. We're using scss and we don't have anything in our ember css file. All of our custom styling shows up fine locally but not when deploying to Heroku. We tried looking into this and found someone who said that the static file was not being accessed on heroku. We're not totally sure what this means or how to go about fixing it. The file structure looks like this:

Our scss file imports bootstrap and ember-paper

This is our github repo: https://github.com/ciarrapeters/rate-my-coop-v2

This is our heroku app: https://ratemycoop.herokuapp.com/companies

The image should not be nearly as massive as it is on the site, and there is more custom styling

bundle/
.git/
app/
    assets/
        config/
        images/
        javascripts/
        stylesheets/
            application.css
        .DS_Store
    channels/
    controllers/
    helpers/
    jobs/
    mailers/
    models/
    serializers/
    views/
    .DS_Store
bin/
config/
db/
frontend/
    app/
        adapters/
        components/
        controllers/
        helpers/
        models/
        routes/
        styles/
            app.css
            app.scss
        templates/
        resolver.js
        app.js
        router.js
        index.html
    config/
    dist/
    node_modules/
    public/
        assets/
            images/
                .DS_Store
                kenneth.png
            .DS_Store
        robots.txt
        .DS_Store
    tests/
    tmp/
    vendor/
    .watchmanconfig
    .template-lintrc.js
    .eslintignore
    .ember-cli
    .travis.yml
    .gitignore
    .editorconfig
    testem.js
    .eslintrc.js
    ember-cli-build.js
    README.md
    package.json
    package-lock.json
lib/
log/
node_modules/
public/
test/
tmp/
vendor/
package-lock.json
config.ru
package.json
Rakefile
README.md
.gitignore
Gemfile
Gemfile.lock
.DS_Store




Aucun commentaire:

Enregistrer un commentaire