> For the complete documentation index, see [llms.txt](https://edward-stevinson.gitbook.io/tech-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edward-stevinson.gitbook.io/tech-notes/tech/rails.md).

# Rails

## Setup

* `gem install rails -v 5.0.5`

  Install rails
* To Set up a nice front-end:
* \`\`\`gem "bootstrap-sass" gem "bootstrap-sass" gem "font-awesome-sass" gem "simple\_form" gem "autoprefixer-rails"

  ```
  ```

  bundle install rails generate simple\_form:install —bootstrap

  \`\`\`
* To set up the Le Wagon CSS file organisation:
* To set up a file to save secret keys:

```
// In the gemfile
gem 'figaro'
// In the terminal
bundle install
bundle bistubs figaro
figaro install
spring stop
```
