Skip to content
Snippets Groups Projects
Select Git revision
  • daf9ace5440f6346f847fbde5b0402d6275d8548
  • master default protected
  • v3-modify-mail
  • snyk-fix-207483a1e839c807f95a55077e86527d
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_ru
  • translations_6e4a5e377a3e50f17e6402264fdbfcc6_ru
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_fa_IR
  • translations_en-yml--master_fa_IR
  • snyk-fix-7d634f2eb65555f41bf06d6af930e812
  • translations_en-yml--master_ar
  • translations_3b5aa4f3c755059914cfa23d7d2edcde_el
  • jfederico-patch-1
  • v2
  • v3
  • v1
  • release-3.1.0.2
  • release-3.1.0.1
  • release-3.1.0
  • release-2.14.8.4
  • release-3.0.9.1
  • release-3.0.9
  • release-3.0.8.1
  • release-2.14.8.3
  • release-3.0.8
  • release-3.0.7.1
  • release-2.14.8.2
  • release-3.0.7
  • release-3.0.6.1
  • release-3.0.6
  • release-3.0.5.4
  • release-3.0.5.3
  • release-2.14.8.1
  • release-3.0.5.2
  • release-3.0.5.1
  • release-3.0.5
35 results

greenlight

user avatar
alihadi-mazeh authored and GitHub committed
* Removed email from being a permitted parameter in the users controller,
changed the email field on the user update form on the front end to being read-only. Completely disabling email changing for all types of users.

* eslint and rubocop fixes

* minor fix

* - Made two methods for user params:
  - one for #create, one for #update
- updated the rspec test for updating user attributes
daf9ace5
History

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

Install Ruby 3.1.0

  • System dependencies
bundle install
  • Configuration

Initialize environment variables (DATABASE_URL, BIGBLUEBUTTON_SECRET and BIGBLUEBUTTON_ENDPOINT, PORT is optional)

cp dotenv .env
  • Database creation
rake db:create
rake db:migrate:with_data
  • Database initialization
rake db:seed
  • How to run the test suite
./bin/start
  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

Install Ruby 3.1.0

bundle install cp dotenv .env

Set DATABASE_URL, BIGBLUEBUTTON_SECRET and BIGBLUEBUTTON_ENDPOINT

rake db:create rake db:migrate:with_data

./bin/start

For production

RAILS_ENV=production RAILS_SERVE_STATIC_FILES=true

rake assets:precompile