Skip to main content

Posts

GREP Command useage.

dos2unix grep 'Text You wnat grep'  from one file to > another file.
Recent posts

Code Push to git hub using commands

  cd ~/Desktop && mkdir FOLDER_NAME && cd FOLDER_NAME   git clone --mirror  https://github.com/xyz/XYZ.git  .git   git config --bool core.bare false   git reset --hard   ---------------------   git branch   git checkout BRANCH_NAME   git pull https://github.com/xyz/XYZ.git  BRANCH_NAME When Ever you want Update git. Command to update: git pull URL branch Ex:git git pull https://github.com/xyz/XYZ.git  BRANCH_NAME copy the files to appropriate folders cd to git repository. git add . git commit Make sure the list of files displayed is only UI files. If yes step. else Contact me git push URL branch Ex:git push https://github.com/xyz/XYZ.git  BRANCH_NAME Use your git account to perform all git operations. To Give The commit messages you show follow below commands. shift + i esc :wq To Start node js server and redirect  logs to some file, follow below commands Node js nohup n...

Custom Application in Erpnext

CustomApplication And Site Creation In ERPNext To Make a New Custome App Follow below commands To Create CustomAPP $ bench new-app [CustomApp-Name] App Title (defaut: Lib Mgt): CustomApp title App Description: App for managing Articles, Members, Memberships and Transactions for Libraries App Publisher: Frappé App Email: info@frappe.io App Icon (default 'octicon octicon-file-directory'): octicon octicon-book App Color (default 'grey'): #589494 App License (default 'MIT'): GNU General Public License Setting up site First we need to add below code in my.nf Go to /etc/mysql/my.nf [mysqld] innodb-file-format=barracuda innodb-file-per-table=1 innodb-large-prefix=1 character-set-client-handshake = FALSE character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci [mysql] default-character-set = utf8mb4 To Create New Site $ bench new-site [site-name] MySQL root password: Installing frappe... U...

Pushing data to Github Repository on Command Line

echo "# Repository Name In Github" >> README.md git init             [this command initializes the repository in your local system] git add README.md    [ whaich folder you want to push] git add .            [this command adds all the files in thw folder] git commit -m "first commit" [Commit message you can give what you want] git remote add origin https://github.com/MeritSystemsPvtLtd/E-Commerce.git [connection to your repository] git push -u origin master [Pushing data to your github repository]