- Encrypt your message by password.
- Decide how message will be removed.
- Receive token to your message.
- Whisper about the token to your friend.
- He'll find the message and read it with your password.
- Message will be removed when your criteria will be achieved.
- Profit.
- Install gems
ruby bundle install
. - Prepare your dev db
ruby bundle exec rake db:create db:migrate
. - Move to Project folder.
cd carrier_pigeon
. - Run Redis-server
ruby redis-server
. - Run Web-Brick server of the application.
ruby bundle exec rackup
. - Run Sidekiq for moving queues of removable messages
ruby bundle exec sidekiq -r ./app.rb
. - Site will be located on
http://localhost:9292
.
P.S. To begin rspec tests you must migrate test db.
ruby bundle exec rake db:migrate RACK_ENV=test
And simply run ruby rspec/spec
. Results will appear in folder coverage/
.