Hacktoberfest / hacktoberfest-2020

Hacktoberfest - App to manage the annual open-source challenge, used for the 2019 & 2020 seasons.

Home Page:https://hacktoberfest.digitalocean.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts to rule them all

mkcode opened this issue · comments

Getting ready for open sourcing, let's make a frictionless development environment setup for new contributors. The following are needed to make that happen:

  • Documentation for system setup needed - Brew and all brew installed services
  • Scripts-to-rule-them-all setup
  • Installs rbenv, node, and ruby version specified in .ruby-version file
  • .env.template file is copied to project root dir
  • DB is created and migrations run
  • App runs with 0 changes from .env.template
  • Documentation for how to run script/setup, script/server, script/console

@johndbritton - Had started the .env.example in this issue: #316

For how to handle the sidekiq enterprise license:

Let's early load our dotenv config in the Gemfile: https://github.com/bkeepers/dotenv#note-on-load-order. This line: gem 'dotenv-rails', require: 'dotenv/rails-now'

And then we will switch out sidekiq and sidekiq-ent with the presence of the following ENV var: BUNDLE_ENTERPRISE__CONTRIBSYS__COM which contains the license info