diff --git a/pages/06.bitwarden/default.md b/pages/06.bitwarden/default.md deleted file mode 100644 index 8d20568..0000000 --- a/pages/06.bitwarden/default.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Bitwarden ---- - -1. Create custom webapp called warden -2. clone https://github.com/jcs/bitwarden-ruby into the directory -3. cd ~/webapps -4. clone https://github.com/jcs/bitwarden-ruby.git warden -5. cd warden \ No newline at end of file diff --git a/pages/06.bitwarden/docs.md b/pages/06.bitwarden/docs.md new file mode 100644 index 0000000..7596ad1 --- /dev/null +++ b/pages/06.bitwarden/docs.md @@ -0,0 +1,19 @@ +--- +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 \ No newline at end of file