Spiking on Rails.
Ruby version: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Migrations: rails db:migrate
Start server: rails server
Tests: bundle exec rspec
File/Directory | Purpose |
---|---|
app/ | Core application (app) code, including models, views, controllers, and helpers |
app/assets | Applications assets such as cascading style sheets (CSS), JavaScript files, and images |
bin/ | Binary executable files |
config/ | Application configuration |
db/ | Database files |
doc/ | Documentation for the application |
lib/ | Library modules |
lib/assets | Library assets such as cascading style sheets (CSS), JavaScript files, and images |
log/ | Application log files |
public/ | Data accessible to the public (e.g., via web browsers), such as error pages |
bin/rails | A program for generating code, opening console sessions, or starting a local server |
test/ | Application tests |
tmp/ | Temporary files |
vendor/ | Third-party code such as plugins and gems |
vendor/assets | Third-party assets such as cascading style sheets (CSS), JavaScript files, and images |
README.md | A brief description of the application |
Rakefile | Utility tasks available via the rake command |
Gemfile | Gem requirements for this app |
Gemfile.lock | A list of gems used to ensure that all copies of the app use the same gem versions |
config.ru | A configuration file for Rack middleware |
.gitignore | Patterns for files that should be ignored by Git |