Giter Site home page Giter Site logo

ohmuritel's Introduction

Ohmuritel cheesecake

Ruby Style Guide SemaphoreCI

Installation

  1. Install docker
  2. Install docker-compose
  3. Install dip
    brew tap bibendi/dip
    brew install dip
    or
    curl -L https://github.com/bibendi/dip/releases/download/3.8.3/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
    chmod +x /usr/local/bin/dip
  4. Use
    • bash command
    eval "$(dip console)"
    • or use the prefix dip for the following console commands
    It’s preferable to use the first option, it will add hints to your console
  5. Run this command for build docker-compose and apply default setting
    provision
  6. Use default rails command using item 4 of this list
    • Example with eval
    eval "$(dip console)"
    rails s
    RAILS_ENV=production rails c
    dip will auto provide all command to docker images with setting into dip.yml
    • Example with dip prefix
    dip rails s
    dip RAILS_ENV=production rails c

Info

  1. Stage
  2. Production

Development

  1. Install Lefthook for apply git hooks
    brew install Arkweid/lefthook/lefthook
    or other way from link
  2. Use lefthook run ${hook name} for run hooks manual
  3. Run standardrb to lint a ruby code
  4. Run standard to lint a js code
  5. Run crystalball ro run all ruby spec using Regression Test Selection mechanism
  6. Run rspec to run all ruby spec
  7. Commit auto generate changes in heroku.yml when you change gem/js dependency it need for rebuild intermediate containers in CI process and get correct review_app stage and production.
You can see all supported commands in a dip.yml

ohmuritel's People

Contributors

alexeymatskevich avatar dependabot[bot] avatar

Stargazers

Ivan Konovalov avatar

Watchers

Arthur Zaharov avatar James Cloos avatar  avatar

Forkers

vapalape

ohmuritel's Issues

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.