Giter VIP home page Giter VIP logo

Comments (5)

revij avatar revij commented on September 27, 2024 2

@niltonvasques Try this:

rm -rf build
rm -rf dist
python setup.py build
python setup.py install

zerobin --host 0.0.0.0 --port 3260

Also, based on the utils.py under the zerobin folder, it will create a .config folder on your home directory, from where it will read the settings.

from 0bin.

ksamuel avatar ksamuel commented on September 27, 2024

What CSS files are served when you look at the HTML source from the browser ?

from 0bin.

niltonvasques avatar niltonvasques commented on September 27, 2024

After all this commands I performed a find to search all the CSS files in the system and looks like that there is an outdated css in the shiv folder. See:

root@a6935bdf18bd:/data# find / -name *style.min* | xargs -I {} md5sum {}
19b6007eda23496c402ef3248edae316  /root/.shiv/zerobin_cf8a10b0db2f8aaaa91e3e01c9575ba6faddea9598b83a5621cae2514477937f/site-packages/zerobin/static/css/style.min.css
4e1ddc3a4a04a69f0553fd09d861dad0  /usr/local/lib/python3.7/site-packages/zerobin-2.0.0-py3.7.egg/zerobin/static/css/style.min.css
4e1ddc3a4a04a69f0553fd09d861dad0  /data/build/lib/zerobin/static/css/style.min.css
4e1ddc3a4a04a69f0553fd09d861dad0  /data/zerobin/static/css/style.min.css

Thes first one is served to the browser. See:

root@a6935bdf18bd:/tmp$ curl -s http://localhost:3260/static/css/style.min.css?1.0.5 | md5sum
19b6007eda23496c402ef3248edae316  -

Same problem happens if I changed the python scripts or the .tpl templates from views folder.

from 0bin.

niltonvasques avatar niltonvasques commented on September 27, 2024

Any idea from what could be happening @ksamuel ?

from 0bin.

niltonvasques avatar niltonvasques commented on September 27, 2024

Flawless working @revij ! πŸ’― Thanks a lot dude! 🍻

from 0bin.

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.