Working on ERPNext Fork - webnotes/erpnext GitHub Wiki
Create and setup ERPNext Fork
You will need to have setup git for either ssh or https access, so that you can push changes. We use ssh access.
- Setup git user details
- Setup git ssh keys
- You will need to fork both of these repositories:
- Once this is done, install ERPNext. See How to Install ERPNext
- Then, you can change the origin of both these repositories to your own fork so that you can push your updates to github.
- go to app folder and run:
git remote set-url origin [YOUR ERPNEXT FORK'S SSH GIT URL]
- Example:
git remote set-url origin [email protected]:anandpdoshi/erpnext.git
- Example:
- go to lib folder and run:
git remote set-url origin [YOUR WNFRAMEWORK FORK'S SSH GIT URL]
- Example:
git remote set-url origin [email protected]:anandpdoshi/wnframework.git
- Example:
- go to app folder and run:
- Setup upstream to pull updates from
webnotes
repositories- go to app folder and run:
git remote add upstream git://github.com/webnotes/erpnext.git
- go to lib folder and run:
git remote add upstream git://github.com/webnotes/wnframework.git
- go to app folder and run:
- To pull updates to
webnotes
fork, runlib/wnf.py --update upstream master
- In case of any merge conflicts, you will have to resolve them and run this step again.
- To push updates to YOUR FORK, run
lib/wnf.py --push origin master
- You can send pull requests to contribute to
webnotes
fork. See Instructions here