Codebase for the Rails Prime Stack training website
Ruby HTML CSS Gherkin JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
features chore(gems): replace FactoryGirl with FactoryBot Mar 22, 2018
lib/tasks
public
script
spec
.gitignore
.hound.yml
.pryrc
.rubocop.yml
.ruby-version
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
Gemfile.lock
Guardfile
MIT-LICENSE
Procfile
README.md
Rakefile
app.json
config.ru

README.md

LevelUpRails

An app to store and verify training material for engineers on the Rails Prime Stack. Currently hosted at http://leveluprails.com.

Your Help Wanted

Hey there. If you're reading this, I'd welcome and appreciate your contributions on the project. Even if you feel like you're not ready to contribute to an open source repo. If that's the case for you, open up a new issue and we'll find something that works for your skill level. You're not an impostor, and we're here to help.

Getting Started

Clone the repo, bundle install, create db, run rake to test. Deploy at will. There is a Procfile provided for foreman. Feel free to create a .env file for the environment. Some content modules may not be stored in source control for competitive purposes.

bundle install
bundle exec rake db:{setup,seed}
foreman start

Proprietary Content Support

LevelUp now supports proprietary courses for users from organizations. While the intention is to share as much as possible, it's useful to have one platform that also covers internal projects. the production site uses private gems with Rails Engines to mount the additional content. Users, courses, and categories can all have organization flags on them, which render them invisible to anyone outside those orgs.

Update Certificate

Cert provided by LetsEncrypt. Update as follows:

sudo certbot certonly --manual
heroku config:set LETS_ENCRYPT_CODE=some_value
sudo heroku certs:update /etc/letsencrypt/live/leveluprails.com-0001/fullchain.pem /etc/letsencrypt/live/leveluprails.com-0001/privkey.pem

Contributing

Contributions are very welcome. Fork, fix, submit pulls.

Contribution is expected to conform to the Contributor Covenant.

Credits

See the humans file for information on helpful humans.

Some icons are used via the Noun Project. We bought a license but here's attribution anyway, because we like them:

  • Map, by Lloyd Humphreys, DK
  • Quiz, by carlos sarmento
  • Books, by Jakub Čaja
  • Signpost, by Creative Stall

License

This software is released under the MIT License.