Browse Source

README++

item-number-refactoring
Coin de Gamma 3 months ago
parent
commit
391b456459
  1. 12
      README.md

12
README.md

@ -23,13 +23,17 @@ mps init
```bash
cd storage
git init
... # other git initialization process
git checkout -b main
git add db.mps
git commit -m "init mps"
git remote add origin <your_git_storage_url>
git push -u origin main
```
### Intilization with exisitng storage-db repo
### Intilization with exisitng storage db repo
1. Create empty repository for storing your passwords on gitlab or somewhere you prefer
2. Clone to your home folder `~/.mps/storage`: `git clone <your_storage_url> storage`
2. Clone to your home folder `<mps_path>/storage`: `git clone <your_git_storage_url> storage`
#### Exporting `MPS_HOME`
You can export variable `$MPS_HOME` to init storage for example in your home directory:
@ -41,6 +45,6 @@ now `mps` will try to get storage from `$MPS_HOME/storage`
#### Add your mps build to PATH in your ~/.zshenv
```
export PATH=$PATH:"<mps_git_repo_path>/target/release"
export PATH=$PATH:"<mps_path>/target/release"
```

Loading…
Cancel
Save