ejohnst2 / troveko

Troveko is a platform that provides travelers with immersive homestays in rural and remote communities to support sustainable development

Home Page:https:\\www.troveko.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Highlights

Setup

Rails

Mac OSX rails setup tutorial

&TLDR

PostgreSQL

  • brew update && brew install po
  • brew services start postgresql start

Create psql user and database? Link to stack overflow post explaining db creation

  • Check eli' command line history for artifacts pertaining to the commands inside the post above

Gems

  • brew update && brew install rbenv ruby-build rbenv-gem-rehash

  • gem install bundler

  • rbenv rehash

  • bundle install

  • gem install middleman

  • gem install nokogirl

  • gem install pry // maybe

  • gem install colored //maybe

  • gem install rspec-rails //maybe

Rails

  • rails db:create

  • rails db:seed

  • rails routes

  • rails db:migrate//??

  • rails db:drop

  • rails db:rollback

  • rails start // start

  • rails generate model NAME_OF_MODEL

  • rails generate controller NAME_OF_MODEL

Janky rails setup playbook

 rm -rf /usr/local/var/postgres && initdb /usr/local/var/postgres
 brew services restart postgresql
 rails s
 rake db:seed
 rake db:setup
 rake db:migrate

Contributing

  • Setup test/development enviornment with appropriate keys in GitHub hosted project
  • Obscusify git history for /config/application.yml
  • Document postgresql database local setup
  • Remove the react-on-rails legacy bloat
    • Created with the command rails generate react_on_rails:install
  • Provision test database (Heroku)
  • Document Heroku deployment protocol
  • Fixup Stripe
  • Fixup Twilio
  • Fixup postmark-mailer
  • Document diff between rake and rails
    • Do we need rake?
  • Organize Gemfile into appropriate development and production gems
  • Introduce Google Analytics
  • Disable postmark postinstall message
    • 
      ==================
      Thanks for installing the postmark gem. If you don't have an account, please
      sign up at http://postmarkapp.com/.
      
      Review the README.md for implementation details and examples.
      ==================```
      
      

Thanks

About

Troveko is a platform that provides travelers with immersive homestays in rural and remote communities to support sustainable development

https:\\www.troveko.com


Languages

Language:JavaScript 40.1%Language:HTML 26.3%Language:Ruby 22.1%Language:CSS 11.5%Language:CoffeeScript 0.0%