• Stars
    star
    281
  • Rank 142,201 (Top 3 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

プログラマー向けEラーニングシステム

CircleCI Create a release pull-request

Bootcamp

プログラマー向けEラーニングシステム。

インストールと起動

$ bin/setup
$ foreman start -f Procfile.dev

practiceの所要時間の集計

学習時間記入した日報を投稿した上で、

$ rake bootcamp:statistics:save_learning_minute_statistics

テスト

ヘッドレスブラウザーでテスト

$ rails test:all

普通のブラウザーでテスト

$ HEADED=1 rails test:all

Lint

次のコマンドでlintを実行します。

$ ./bin/lint

実行されるlint

  • Ruby
    • rubocop
    • slim-lint
  • JavaScript
    • eslint
    • prettier
  • eslintの警告は以下のコマンドで修正されますが、修正されない場合は手動で修正してください。
$ eslint 'app/javascript/**/*.{js,vue,jsx}' --fix
  • prettierの警告が出ている場合には、以下のコマンドで修正できます。
$ prettier app/javascript/**/*.{js,vue,jsx} --write

Profiler

rack-mini-profilerによりプロファイリングはデフォルトではOFFになっています。ONにする場合は下記のようにサーバーと立ち上げます。

$ PROFILE=1 rails server

その他