- Add this file to
~/Library/Preferences/RiderXXXX.X/filetypes/Vagranfile.xml - Restart IDE
This page will help you find the correct directory.
~/Library/Preferences/RiderXXXX.X/filetypes/Vagranfile.xmlThis page will help you find the correct directory.
| generate(:scaffold, "post", "title:string", "body:text") | |
| route "root to: 'posts#index'" | |
| file 'config/database.yml', <<-CODE | |
| default: &default | |
| adapter: postgresql | |
| encoding: unicode | |
| pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> | |
| host: db |
| # stop script on error signal | |
| set -e | |
| SITE="your-site-original-folder-name.com" | |
| DEPL="/home/forge/deployments/${SITE}" | |
| # create directory and any intermediate directories if don't exist | |
| mkdir -p ${DEPL} | |
| CUR="/home/forge/${SITE}" |