Git Product home page Git Product logo

bootcamp's Introduction

CircleCI Create a release pull-request

Bootcamp

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

インストールと起動

1. 画像処理ライブラリのインストール

wiki 内の画像処理ライブラリのインストールページを参照してください。

2. セットアップとサーバーの起動

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

http://localhost:3000/ にアクセス。

テスト

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

$ rails test:all

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

$ HEADFULL=1 rails test:all

並列実行せずにテスト

$ PARALLEL_WORKERS=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

環境構築

その他

bootcamp's People

Contributors

ai-24 avatar dependabot[bot] avatar djkazunoko avatar dowdiness avatar eatplaynap avatar fuwa-syugyo avatar harukus avatar hituzi-no-sippo avatar ima1zumi avatar kassy0220 avatar komagata avatar machida avatar masanarih0ri avatar masyuko0222 avatar mono-nobe avatar natsuto6 avatar neko314 avatar ogawa-tomo avatar omochiumaiumai avatar ot0m1 avatar rira100000000 avatar rono23 avatar ryoh173 avatar saki-htr avatar seijinumata avatar shibaaaa avatar sochi419 avatar toke04 avatar tosite avatar yu-kichi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.