Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

sass less odoo

  • Todos los blogs
  • Tech Blog
  • sass less odoo
  • 5 de marzo de 2021 por
    Administrator
    0down vote

    If you are using ubuntu and having errors/warns of sass & lessc ,etc in your odoo webapp, Then you should try following for them:-

    [Removing Hotch Potch]

    $ sudo su     # Switch To Root Before Working ##
    # rm -f /usr/bin/lessc /usr/bin/node
    # apt remove node*
    # cd /etc/apt/sources.list.d
    # rm -f chris-lea-node_js-trusty.list *.save neurobin-ppa-trusty.list noobslab-apps-trusty.list 
    # rm -f /var/cache/apt/archives/lock 
    # apt-get clean
    

    [Installing Required Deps]

    # apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less libldap2-dev libssl-dev  build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev python-software-properties ruby -y
    

    [Installing Compatible NodeJs & lessc]

    # apt-add-repository ppa:chris-lea/node.js
    # apt-get update
    # apt-get install nodejs
    
    # npm install -g npm
    # npm install -g less less-plugin-clean-css
    # npm install -g less
    # npm install -g node-less
    
    # rm -f /etc/apt/sources.list.d/*.save /etc/apt/sources.list.d/*.log
    

    [Installing Ruby > 2.0 & Required Sass gems]

    # cd /tmp
    # wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
    # tar -xvzf ruby-2.0.0-p481.tar.gz
    # cd ruby-2.0.0-p481/
    # ./configure --prefix=/usr/local
    # make
    # make install
    # ruby --version     # Should be greater than 2.0
    
    # gem install sass
    # gem install bootstrap-sass
    # gem install compass
    

    [Starting Your WebApp]

    # cd <path to main source code>
    # python openerp-server -c openerp-server.conf
    

    Thanks!! n Have Nice Time !!

     

     

     

    en Tech Blog
    Cenit Integrations Client install hint: dependencies

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Síganos
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)