- Change
__openerp__.py
addon name field - Change
README.rst
file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _=require('lodash'); | |
module.exports= function(site){ | |
var i18n=require('i18n'); | |
var _myi18n = _.clone(site.options.i18n); | |
_myi18n.directory=site.rootDir + '/frontend-locales'; | |
i18n.configure(_myi18n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* You will need the following dependencies | |
* | |
* npm install --save recursive-readdir | |
* npm install --save lodash | |
* npm install --save async | |
* | |
* I am sure this can become better javascripty code but it does the job for now | |
*/ | |
var recursive = require("recursive-readdir"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
print_status() { | |
echo | |
echo "## $1" |