Giter Site home page Giter Site logo

Comments (13)

SimonLab avatar SimonLab commented on May 10, 2024 3

The Phoenix logo is not displayed:
image

I've tried to run mix assets.deploy on Heroku but it didn't resolve the assets issue.
Also it might be another issue, at the moment the messages are not saved, ie if you refresh your page your "Seems to be working fine" won't appear anymore. I need o dive into the code to see if it's limit on the number of messages displayed or if the message itself is not saved

from phoenix-chat-example.

SimonLab avatar SimonLab commented on May 10, 2024 3

The Phoenix logo is now displaying.
I've updated the .gitignore file to only ignore the /priv/static/assets instead of the all priv/static folder where the image is contained.

Similar issue: https://elixirforum.com/t/phoenix-1-6-rc-cannot-find-static-svg-image/42620

from phoenix-chat-example.

ajmeese7 avatar ajmeese7 commented on May 10, 2024 2

@SimonLab that is the same issue I was experiencing a few days ago, rebuilding my environment and setting up the application again as you suggested fixed it for me. Maybe try that if you haven't already?

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024 1

@ajmeese7 I think the issue Simon is seeing is legit.
The logo is AWOL for me too on the Heroku app: https://phxchat.herokuapp.com/

phxchat-heroku-logo-404

It might just be a case of re-building the app, but I think Simon has already tried that. πŸ’­

As for the new chat messages not being stored in the DB: there are only 1,327 rows used of the available 10,000.
https://data.heroku.com/datastores/5c9d21d3-7aac-4672-9697-272fcc1cfa3a
image

So there must be an issue with writing from the App into the Repo. We may need to do some Logging to see why.

from phoenix-chat-example.

SimonLab avatar SimonLab commented on May 10, 2024 1

dependencies updated, swoosh removed and assets available.
see https://phxchat.herokuapp.com/

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024

Maybe try removing :swoosh for now as we aren't using it. πŸ’­

from phoenix-chat-example.

SimonLab avatar SimonLab commented on May 10, 2024

Restarting Heroku gives the following message:
image

from phoenix-chat-example.

SimonLab avatar SimonLab commented on May 10, 2024

In fact the main branch hasn't been deployed recently and fail to build when deployed manually:
image

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024

Ah, ok. so we need to update the build process. πŸ’­ (have you looked into it or do should I?)

from phoenix-chat-example.

SimonLab avatar SimonLab commented on May 10, 2024

Removed the asset buildpack config file and the buildpack on Heroku. The application is building and now deployed however the images and assets are not loaded properly.

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024

What part is not working for you @SimonLab πŸ’­
image

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024

Good catch @SimonLab πŸ‘

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 10, 2024

@SimonLab thanks for tidying up. πŸ‘

from phoenix-chat-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.