This project aims to solve the problem of proposing a new curriculum in computer science, to replace an old curriculum.
This app is hosted on Heroku
Made with dbdiagram.io
Admin panel
User management
Course creation
Commenting
Search
Live chat
Rails 5.0.0 or higher
Ruby 2.3.1 or higher
PostgreSQL 9.3.11 or higher
update the heroku-cli with the following command:
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
heroku login
heroku keys:add
cd /curriculum
rails s -b 0.0.0.0 -p 3000
git clone git@github.com:clarkngo/curriculum.git
$ cd curriculum
$ rails db:create
$ rails db:migrate
$ rake db:seed
$ rails server
$ git push heroku master
$ heroku run rake db:migrate
config/master.key
1) Run rails credentials:edit
2) Store credentials to open in Emacs edtior
aws:
access_key_id: 123
secret_access_key: 345
bucket: my_bucket
3) Ctrl + x
, then Ctrl + s
then y
to save.
4) Ctrl + x
, then Ctrl + c
to exit.
5) Share master key to team. Should not be pushed to repo.
Common Gotcha:
'rescue in _decrypt': ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage)
1) Delete credentials.yml.enc
and master.key
2) Run rails credentials:edit
config/application.yml
Add the following in the file:
AWS_ACCESS_KEY: Your_AWS_access_key_here
AWS_SECRET_KEY: Your_AWS_secret_key_here
AWS_BUCKET: Your_AWS_bucket_here
Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
curriculum is released under the MIT license.
copyright:: (c) Copyright 2018 Clark Jason Ngo. All Rights Reserved.