The Ruby on Rails application behind Poseidon.
- Install RVM
- Install RubyGems
- Install Postgres
brew install postgresql
- Install the correct version of Ruby on your machine -
rvm install ruby-2.3.3 && rvm use ruby-2.3.3
- Install Bundler and Rails
- Install Heroku CLI
brew install heroku/brew/heroku
- Clone this repo -
git clone git@github.com:nathanbirrell/poseidon.git poseidon
- Install project dependencies -
cd poseidon; bundle install
. [Note if you have an issue with thepg
gem, make sure you runbrew install postgresql
andbundle
again.] - Find a template
config/application.yml
file for your environment variables (handled by Figaro) - Create, set-up and seed database with
rails db:create db:schema:load db:seed
- Load some model data for the seed spots with
rails forecasts:update
(retrieves data from 3rd party APIs) npm install -g yarn
thenyarn
- Run a local build with
npm start
- Install Rubocop and the Ruby Style Guide (Atom, RubyMine)
The marketing site (surfposeidon.io) is a static rendering of app/javascript/pages/MarketingPage.js
- basically copied and pasted out of the browser.
From there, we copy the HTML to docs/index.html
for Github Pages to serve up.
Trello Team (for build/feature work)
Github Issues (for bugs)