https://github.com/syedzubairhaider/rails-sample-app
twitterz
https://github.com/syedzubairhaider/rails-sample-app
rails-tutorial ruby
Last synced: 11 days ago
JSON representation
twitterz
- Host: GitHub
- URL: https://github.com/syedzubairhaider/rails-sample-app
- Owner: syedzubairhaider
- Created: 2018-10-22T05:22:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T11:26:27.000Z (over 6 years ago)
- Last Synced: 2025-04-07T11:21:18.254Z (3 months ago)
- Topics: rails-tutorial, ruby
- Language: Ruby
- Homepage: https://twitterz.herokuapp.com/
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
some commands used in building this app
rails generate controller Sessions new
rails generate controller AccountActivations
rails generate controller PasswordResets new edit --no-test-framework
rails generate controller Microposts
rails generate controller Relationships
rails generate model Micropost content:text user:references
rails generate uploader Picture
rails generate migration add_index_to_users_email
rails generate migration add_picture_to_users picture:string
rails generate migration add_remember_digest_to_users remember_digest:string
rails generate migration add_password_digest_to_users password_digest:string
rails generate migration add_admin_to_users admin:boolean
rails generate migration add_reset_to_users reset_digest:string \reset_sent_at:datetime
rails generate migration add_picture_to_microposts picture:string
rails generate integration_test users_signup
rails generate integration_test users_edit
rails generate integration_test users_index
rails generate integration_test password_resets
rails generate integration_test users_profile
rails generate integration_test microposts_interface
rails generate integration_test following
rails generate mailer UserMailer account_activation password_reset
rails test test/models/micropost_test.rb
rails db:migrate:reset
heroku addons:create sendgrid:starter
heroku config:get SENDGRID_USERNAME
heroku run rails console --sandbox
heroku pg:reset DATABASE
heroku run rails db:migrate
heroku run rails db:seed
heroku restart
heroku logs