Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

sass less odoo

  • All Blogs
  • Tech Blog
  • sass less odoo
  • March 5, 2021 by
    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 !!

     

     

     

    in Tech Blog
    Cenit Integrations Client install hint: dependencies

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

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