Prototype for Agora Speakers International Portal.
https://github.com/agoraspeakers/meetings-portal
This project is build with Ruby and Ruby on Rails.
- Ruby version:
ruby-2.7.0-preview1
- Ruby on Rails version:
Rails 6.0.0
Usual installation path requires:
- install JavaScript engine like
nodejs
- install
ruby
- install foreman:
gem install foreman
- install project dependencies:
bundle install
- install javascript dependencies:
yarn install
- run
rails db:prepare
to setup or update database - run
rails credentials:edit --environment development
to set credentials in development environment
- Fill the file with required credentials listed below:
To get these credentials you should:
facebook_app_id: your_facebook_app_id facebook_app_secret: your_facebook_app_secret
- create Facebook Developer Account
- create Facebook App called e.g. "meetings-portal"
- set up Facebook Login product with default settings
- go to Settings -> Basic, there you can find your App ID and App Secret
- OPTIONAL: run
rails credentials:edit --environment test
to set credentials in test environment - run
foreman start
to start the rails and the webpack-dev servers - open browser at http://localhost:3000
We are using stylelint to check syntax in scss files.
To check if all written styles have correct syntax, please type:
yarn stylelint-all
To check if only one file has correct syntax, please type:
yarn stylelint path_to_scss_file
We are using ESLint to check syntax in JavaScript files.
To check if all written js files have correct syntax, please type:
yarn eslint-all
To check if only one file has correct syntax, please type:
yarn eslint path_to_js_file
For now, the Meetings Portal application retrieves only default user's data from facebook.
- Discuss,
- Clone,
- Update,
- Comment your code,
- Write, change, run tests,
- Open PR.
Before putting any effort into the project please discuss with other developers to avoid duplicate work or unnecessary efforts.