You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Coin de Gamma
9da8c60340
|
3 months ago | |
---|---|---|
src | 3 months ago | |
.gitignore | 4 months ago | |
Cargo.toml | 3 months ago | |
README.md | 3 months ago |
README.md
MPS
A small tool for storing passwords locally with git sync
Installation
- Clone MPS repo:
git clone git@code.corpglory.net:corpglory/mps.git
- Build MPS
cd mps
cargo build --release
- Run init
mps init
- Add your storage under git
cd storage
git init
... # other git initialization process
Intilization with exisitng storage-db repo
- Create empty repository for storing your passwords on gitlab or somewhere you prefer
- Clone to your home folder
~/.mps/storage
:git clone <your_storage_url> storage
Exporting MPS_HOME
You can export variable $MPS_HOME
to init storage for example in your home directory:
export MPS_HOME="/home/<your_username>/.mps"
in your ~/.zshenv
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"