grav/pages/06.bitwarden/docs.md

19 lines
442 B
Markdown
Raw Normal View History

---
title: Bitwarden
---
### 1. Prepare the environment
#### Create custom webapp called `warden` in the control panel
#### Configure Ruby 2.4 by editing `~/.bash_aliases` and adding these aliases
```sh
alias ruby=ruby2.4
alias gem=gem2.4
```
### 2. Install Bitwarden Ruby into the directory
```sh
cd ~/webapps
clone https://github.com/jcs/bitwarden-ruby.git warden
cd warden
bundle install
```
### 3. Start / Stop / Restart and Cron scripts