CiscoDevNet / yang-explorer

An open-source Yang Browser and RPC Builder Application
Apache License 2.0
438 stars 177 forks source link

update the YANG explorer while not losing my DB? #44

Closed bclaise closed 7 years ago

bclaise commented 7 years ago

I "git cloned" the YANG explorer. What is the way to update the YANG explorer while not losing my DB? From the README, I see:

###2.2 Update exising installation

```bash
  cd <install-root>/yang-explorer
  git stash (if you have local changes)
  git pull origin
  git stash apply (if you have local changes)
  bash setup.sh

However, I didn't do a fork, simply a clone. Should I clone this again? I tried a clone, then "cp -r * to my already installed directory, hoping to keep my DB. I didn't work.

It could be great to update the README for people using git clone. Or maybe I miss something obvious.

pgohite commented 7 years ago

I have updated instruction to backup and restore user data in section 2.3.

However you need not to clone every time a update is required, you may simply use 'git pull method' as described in section 2.2 for in place upgrade. Please send me the logs if 2.2 instructions does not work for you.