Giter Club home page Giter Club logo

nci-ssd-project's Introduction

README

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

Things you may want to cover:

Docker and Docker Compose

docker-compose build

Will build containers that are based on Dockerfile

  • ... service_name will run the build for specific container

docker-compose up

Will spin up the containers and make the services availble (ctrl-c to break and stop service)

  • ... -d: will run the process dettached, freeing the terminal for commands
  • ... -d service_name: will run just a specific service

docker-compose logs

List the logs from the services (web, db)

  • ... service_name will list logs only for the specific service
  • ... --tail 100 service_name limit the output to the last 100 lines (useful when logs are huge)
  • ... --tail 100 --follow service_name will keep listening the service for new log entries (ctrl+c to break and stop listening)

docker-compose ps

Will list all services of the project listed, inside current docker-compose.yml. To list all docker containers, we can use docker ps.

docker-compose stop

Will stop all services, we can specify a service docker-compose stop web

docker ps

Will list all containers that are running on docker, it contains useful information like creation date, ports mapped, container id and container name.

docker stop container_name/container_id

Will stop a container

Gems:

Env

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

run rails db:setup

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

nci-ssd-project's People

Contributors

alexi-alt avatar laurine-bot avatar pablotarga avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  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.