Giter Club home page Giter Club logo

codebattle's Introduction

Codebattle

Actions Status codecov Maintainability codebeat badge

Кодбатл - это игра с открытым исходным кодом, которая разрабатывается сообществом Хекслета. Подробнее о проекте читайте в вики репозитория. Мы будем очень рады, если вы решите принять участие в разработке проекта. Текущая версия приложения доступна по адресу codebattle.hexlet.io. Следить за процессом разработки можно в ленте новостей.

Requirements

  • Mac / Linux
  • Docker
  • Docker Compose

Install

$ git clone [email protected]:hexlet-codebattle/codebattle.git
$ cd codebattle
$ make setup

Run

$ make compose

Test

$ make compose-test

Lint

$ make compose-lint

# To run specific
$ make compose-mix-format
$ make compose-mix-credo
$ make compose-lint-js-fix

Useful

$ mix upload_langs

$ mix dockers.push # all
$ mix dockers.push elixir

$ mix dockers.build # all
$ mix dockers.build elixir

$ mix dockers.pull # all
$ mix dockers.pull elixir

$ mix issues.upload # Upsert issues by name in db

#If you use docker in dev env, run commands in make compose-bash

Support

Troubleshooting

  • Install and run docker

Make sure you have installed docker and docker-compose for your OS.

https://docs.docker.com/install/

https://docs.docker.com/compose/install/

Make sure your docker daemon is running. You can run it manually by typing:

sudo dockerd

or you can add it to startup by typing:

sudo systemctl enable docker

Close and open your terminal if docker daemon didn't start immediately.

  • Manage Docker as a non-root user

https://docs.docker.com/install/linux/linux-postinstall/

Create the docker group.

sudo groupadd docker

Add your user to the docker group.

sudo usermod -aG docker $USER

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.