diff --git a/.gitignore b/.gitignore index 62cc5771bae..4cbd3105462 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,4 @@ public/*.html public/js/lib public/images/lib public/files -public/backups -public/css/wn-web.css -public/js/wn-web.js \ No newline at end of file +public/backups \ No newline at end of file diff --git a/install_erpnext.py b/install_erpnext.py index 916d0054aa3..5ea4f448f9e 100644 --- a/install_erpnext.py +++ b/install_erpnext.py @@ -106,6 +106,15 @@ os.system("lib/wnf.py -l") # force sync all os.system("lib/wnf.py --sync_all -f") +# create website files +#from webnotes.model.code import get_obj +# rewrite pages +#get_obj('Website Settings').rewrite_pages() + +#ss = get_obj('Style Settings') +#ss.validate() +#ss.on_update() + # set filemode false os.system("git config core.filemode false") os.chdir(os.path.join(erpnext_path, 'lib'))