Sunday, July 29, 2018

Rsync (Remote Sync)

Every time I create a new odoo instance is that I always copy my source code to a new odoo folder setup. It's not only time-consuming but every time I need to edit a single source code I also need to edit the other source code. bit confusing? anyway, I'm the only one who understands. :)

I found this Linux command and I think it is very useful. The last time I remember that I have encountered this kind of command but didn't think of it much how useful it is.

so here we go, without further ado.

first install the tool
sudo apt-get install rsync


sudo rsync -avzh /odoo/trunk/app/customaddons /odoo/sit3/app


eureka!


reference:


Tuesday, July 24, 2018

How to install postgresql into ubuntu

Installation

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib



Backup
pg_dump my_postgres_db > my_postgres_db.sql

Restore
plsql my_postgres_db < my_postgres_db.sql




automate calling curl


while true; do curl localhost:8869; sleep .5; done

Sunday, July 22, 2018

Installing subversion in linux


sudo apt-get install subversion
sudo svn checkout svn://172.18.6.8/repo2/trunk

Monday, July 2, 2018

Change user and group permission in linux


problem:










solution:
sudo chown -R odoo:odoo vbroker20-beta2



references:

Installing Rasa NLU in docker

It's been a while I wrote up an article and I find today is the best to start again.

I have been using Rasa Chatbot for a while and still didn't get much knowledge of it because of the busy at work. I will start to install Rasa again using docker and let's see how it goes. So buckle up and start your engine.


Step-by-step
1. docker run -p 5000:5000 rasa/rasa_nlu:latest-full
2. curl 'http://localhost:5000/parse?q=hello'
Voila!

free online comma separating tool

https://delim.co/#