Comments (2)
At a minimum, you can just run it on your local machine and point the browser extension at it.
- Install the most recent stable version of Ruby that your OS provides (2.4 series, probably)
gem install bundler
git clone https://github.com/jcs/bitwarden-ruby.git
cd bitwarden-ruby
bundle install --deployment
env ALLOW_SIGNUPS=1 bundle exec rackup
You'll now have a server running at http://127.0.0.1:9292/ that you can configure the browser extension to point to.
Actual deployment on a server is more complicated and will require a front-end web server (nginx, Apache, etc.), SSL/TLS, supervising of the server processes to start at boot, etc. Assume a deployment directory of /var/www/bitwarden-ruby
and running the server as user bitwarden
:
- Install the most recent stable version of Ruby that your OS provides (2.4 series, probably)
gem install bundler
git clone https://github.com/jcs/bitwarden-ruby.git
mv bitwarden-ruby /var/www
cd bitwarden-ruby
bundle install --deployment
useradd bitwarden
mkdir db log tmp; chown bitwarden db log tmp
sudo -u bitwarden env ALLOW_SIGNUPS=1 bundle exec unicorn -E production -l /var/www/bitwarden-ruby/tmp/bitwarden.sock
You'll now have a FastCGI listener running in /var/www/bitwarden-ruby/tmp/bitwarden.sock
that you can configure nginx/Apache/etc. to proxy requests to. You'll want to setup SSL/TLS for it, of course.
Once it's running, you can configure the Bitwarden apps to your URL. After creating your account, you'll probably want to run it without ALLOW_SIGNUPS
defined. Running the unicorn
process at boot and monitoring it will depend on your OS.
from rubywarden.
Thanks !
I’ve run it on docker, and it works great.
from rubywarden.
Related Issues (20)
- iOS app crash after latest update HOT 18
- How to backup and restore? HOT 2
- CORS for new Safari Extension HOT 7
- Problem to update or sync after update HOT 2
- using web vault
- Upgrade error
- Implement 2FA recovery code
- Deleting folder doesn't clear matching "folderId" from items
- Provide procedure to implement HTTPS HOT 2
- Error when importing passwords from KeePass HOT 4
- DEBUG messages HOT 1
- 404 error when deleting entry HOT 5
- Saving attachments does not work HOT 1
- Error when importing from KeePass 2.x
- Delete user HOT 1
- Invalid master password when unlocking desktop client HOT 2
- rubywarden no longer being updated HOT 5
- Fork? HOT 1
- - NoMethodError - undefined method `passwordhistory' for #<Cipher:0x00000008093a8b38>: HOT 1
- Import from Enpass? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubywarden.