|
|
@ -2,11 +2,29 @@ |
|
|
|
|
|
|
|
|
|
|
|
A small tool for storing passwords locally with git sync |
|
|
|
A small tool for storing passwords locally with git sync |
|
|
|
|
|
|
|
|
|
|
|
## Installation |
|
|
|
## MPS |
|
|
|
|
|
|
|
1. Clone MPS repo: |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
git clone git@code.corpglory.net:corpglory/mps.git |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Build MPS |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
cd mps |
|
|
|
|
|
|
|
cargo build --release |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Add your mps build to PATH in your ~/.zshenv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
export PATH=$PATH:"<mps_git_repo__path>/target/release" |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Intilization |
|
|
|
|
|
|
|
|
|
|
|
1. Create empty repository for storing your passwords on gitlab or somewhere you prefer |
|
|
|
1. Create empty repository for storing your passwords on gitlab or somewhere you prefer |
|
|
|
2. Clone to your home folder ~/.mps/storage |
|
|
|
2. Clone to your home folder ~/.mps/storage |
|
|
|
3. Export varable $MPS_HOME: `export MPS_HOME="/home/<your_username>/.mps"` |
|
|
|
3. Export varable $MPS_HOME: `export MPS_HOME="/home/<your_username>/.mps"` in your ~/.zshenv |
|
|
|
4. Add to your $PATH:<path_to_msp> where you installed your mps |
|
|
|
4. Add to your $PATH:<path_to_msp> where you installed your mps |
|
|
|
5. Run ./mps init |
|
|
|
5. Run ./mps init |
|
|
|
|
|
|
|
|
|
|
|