Weekly review service for GTD
copy dot.env to .env, and edit it.
Generate secret key
bundle exec rake secret
For example, omniauth-twitter needs an initializer as follows:
Devise.setup do |config|
config.omniauth :twitter, 'CONSUMER_KEY', 'CONSUMER_SECRET'
end
then you should set environment variables as follows:
OMNIAUTH_PROVIDER=twitter
OMNIAUTH_ARGS="['CONSUMER_KEY','CONSUMER_SECRET']"
See config/initializers/devise.rb
$ yarn build # or yarn dev for developers
$ bundle install --path .bundle
$ bundle exec rake db:migrate
$ bundle exec rails s
notify for all users by command
# notify immediately
$ bundle exec thor notification:notify
# per user
$ bundle exec thor notification:notify nickname
# notify by user's schedule setting
$ bundle exec thor notification:cron_notify
# per user
$ bundle exec thor notification:cron_notify nickname
The MIT License (MIT) Copyright (c) 2014 codefirst