Helios 2.0
Branch: master
Clone or download
chewnoill Merge pull request #77 from mojotech/cmb/default-lock-enabled
fix: switch the lock to default to on
Latest commit 7d28d08 Jan 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore: remove browsers from circle ci setup Oct 26, 2018
.github chore: add Will to code owners Oct 26, 2018
app fix: switch the lock to default to on Jan 29, 2019
bin
config fix: configure sidekiq to use redis_url env Nov 6, 2018
db Remove guests feature Dec 21, 2018
lib chore: add graphql schema dump task and intial schema Aug 10, 2018
log
public chore: add new GT America fonts Jul 12, 2018
spec Remove guests feature Dec 21, 2018
test Initial commit: rails new helios2 --webpack=react Apr 20, 2018
tmp Initial commit: rails new helios2 --webpack=react Apr 20, 2018
vendor Initial commit: rails new helios2 --webpack=react Apr 20, 2018
.babelrc chore: add jest for javascript testing Aug 1, 2018
.dockerignore [docker] Adding docker support Jul 27, 2018
.env.local.sample Remove guests feature Dec 21, 2018
.eslintrc.js
.gitignore [fix] ignore docker related files Aug 3, 2018
.postcssrc.yml Initial commit: rails new helios2 --webpack=react Apr 20, 2018
.prettierrc chore: add prettier integrated with eslint Jun 5, 2018
.rubocop.yml fix: support REDIS_URL env for poller redis connection Nov 2, 2018
.ruby-version Upgrade Ruby 2.5.0 -> 2.5.1 Apr 20, 2018
Dockerfile [docker] Adding docker support Jul 27, 2018
Gemfile Remove guests feature Dec 21, 2018
Gemfile.lock Remove guests feature Dec 21, 2018
LICENSE chore: add MIT license Oct 9, 2018
Procfile chore: add production Procfile Nov 2, 2018
Procfile.development feature: add backend weather subscriptions with poller Oct 26, 2018
README.md chore: update readme for production start up Oct 26, 2018
Rakefile Initial commit: rails new helios2 --webpack=react Apr 20, 2018
config.ru Initial commit: rails new helios2 --webpack=react Apr 20, 2018
docker-compose.yml [docker] Adding docker support Jul 27, 2018
package.json chore: bump webpack-dev-server for security warning Jan 25, 2019
yarn.lock chore: bump webpack-dev-server for security warning Jan 25, 2019

README.md

README

This project is a Rails 5.2 app using webpacker and React.

Ruby version

MRI 2.5.1

Installation options

You can either install the deps directly on your box or you can use the Docker support.

Native

Getting ready

  • bundle install
  • yarn install
  • cp .env.local.sample .env -- fill in env vars where applicable

Start it up

Docker

Getting Ready

  • Install Docker and docker-compose
  • cp .env.local.sample .env -- fill in env vars where applicable
  • Sign up for a free darksky API key: https://darksky.net/dev Note: the free API key has a daily limit of 1000 requests

Start it up

Spin up Rails Console

  • have the docker image running in one terminal tab (docker-compose up)
  • in a second tab run docker-compose exec web bundle exec rails console
    • if it gives any errors, try the following command:
      • docker-compose run web bundle exec rake app:update:bin

Production Start up

  • export PATH=<node path>
  • export PATH=<rails path>
  • RAILS_ENV=production \
        SECRET_KEY_BASE=<some secret> \
        RAILS_SERVE_STATIC_FILES=1 \
        rails s

Designs

https://app.zeplin.io/project/5ad8bfb98c928b070d6e1589

screen shot 2018-06-13 at 7 49 27 am