Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericmbouwe/automated-tweets
This app is a tweet scheduler that allows you to connect your Twitter account and send tweets at a specific time. You can edit the schedule or delete it. It is built with Rails 6, Erb, and Boostrap 4
https://github.com/ericmbouwe/automated-tweets
bootstrap4 jobs rails6 scheduler
Last synced: 13 days ago
JSON representation
This app is a tweet scheduler that allows you to connect your Twitter account and send tweets at a specific time. You can edit the schedule or delete it. It is built with Rails 6, Erb, and Boostrap 4
- Host: GitHub
- URL: https://github.com/ericmbouwe/automated-tweets
- Owner: EricMbouwe
- Created: 2021-07-17T15:54:31.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-07-17T16:02:29.000Z (over 3 years ago)
- Last Synced: 2024-11-02T16:25:38.931Z (17 days ago)
- Topics: bootstrap4, jobs, rails6, scheduler
- Language: Ruby
- Homepage:
- Size: 158 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
This README would normally document whatever steps are necessary to get the
application up and running.* ...
## Make a change in the migration file (database table)
- make the change in the previous migration file
- run `rails db:rollback`
- run `rails db:migrate`
- Or run `rails db:migrate:redo` to run the two command in one## Generate Password mailer for reset instructions
- run `rails g mailer Password reset`## Storing credentials securely
- run `rails credentials:edit --environement=development`- edit the opened file
` twitter:
api_key: key
api_secret: key
`
### Get the stored keys
- run `rails c`
- run `Rails.application.credentials`
- run this for a specific key
`Rails.application.credentials.dig(:twitter, :api_key)`## Add omniauth gem
-run `bundle add omniauth-twitter`
-run `bundle add omniauth-twitter omniauth-rails_csrf_protection`## Add omniauth middleware to the app
- open /initializer folder
- create omniauth.rb file
- add the keys