Skip to content

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

Notifications You must be signed in to change notification settings

ejohnst2/troveko

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published