Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmobaird/railstwitter
Ruby On Rails simple Twitter Application
https://github.com/tmobaird/railstwitter
Last synced: 12 days ago
JSON representation
Ruby On Rails simple Twitter Application
- Host: GitHub
- URL: https://github.com/tmobaird/railstwitter
- Owner: tmobaird
- Created: 2015-06-10T18:51:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-11T16:10:02.000Z (over 9 years ago)
- Last Synced: 2023-09-04T03:03:43.559Z (about 1 year ago)
- Language: Ruby
- Homepage: http://twitter-tmobaird.c9.io/tweets/index
- Size: 496 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
railsTwitter
This is a simple Ruby On Rails application that is a twitter feed. Tweets can either be posted without a name, which will just come up as "Anonymous" or with a name. This is deployed on Cloud 9. At the following url: https://twitter-tmobaird.c9.io/tweets/indexRails Directories and Configurations
All controller files are located under the /app/controllers/ directory. The main controller file for this application is tweets_controller.rb. All view files are located under the /app/views/tweets/ directory but the application.html.erb overall layout is located under the /app/views/layout/ directory. My model is located in the /app/models/ directory as the file tweet.rb.Cucumber Testing
This repository also includes some of the Cucumber tests that I have used on this application. The .feature files are located inside the features directory. And the step defintions are located inside the /features/step_defintions directory. To use cucumber there must be a few commands that need executed for this to work:
```
$ gem install cucumber
$ bundle install
$ rails g cucumber:install
```
Thsi will create all the necessary directories and install cucumber for you. From here if you would like to execute your cucumber tests on the application you can type either of the following commands:
```
$ bundle exec cucumber
```
or
```
$ cucumber /features/fileToTest.cucumber
```