Giter Club home page Giter Club logo

ashutosh-aanand / codebattle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexlet-codebattle/codebattle

0.0 0.0 0.0 26.26 MB

Codebattle - Game for programmers, where you solved algorithmic problems with other players in real time. You can fight with other players in single player mode or join massive tournaments.

Home Page: https://codebattle.hexlet.io/

Shell 0.01% JavaScript 42.69% Ruby 0.07% C++ 0.32% Python 0.19% PHP 0.13% Java 0.22% Haskell 0.26% Clojure 0.14% Go 0.07% C# 0.21% Elixir 47.34% Kotlin 0.18% Dart 0.10% Makefile 0.44% HTML 6.09% HCL 0.35% Dockerfile 0.19% SCSS 1.01% Slim 0.02%

codebattle's Introduction

Codebattle

Actions Status codecov Maintainability codebeat badge Hits

Codebattle - is an open source game being developed by the Hexlet community. The current version of the application is available at codebattle.hexlet.io. We also have chrome extension. Which allow to subscribe on last game updates.

Requirements

  • Mac / Linux
  • docker

Install

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

Start Server

$ make compose

Run Tests

$ 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

Profile js bundle

To build stat.json and see details in browser run:

yarn profile:build
yarn profile:visualize

Support

Troubleshooting

  • Install and run docker

Make sure you have installed docker for your OS.

https://docs.docker.com/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

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

See most active contributors on hexlet-friends.

codebattle's People

Contributors

vtm9 avatar redbrother avatar imamatory avatar lazycoder9 avatar solar05 avatar peresvets avatar krivtsov avatar guryanov-maksim avatar vladimirafanasievfs avatar mimikria96 avatar dependabot[bot] avatar igor-i avatar abbath avatar ushachev avatar possesion avatar nunsez avatar v1valasvegan avatar thepry avatar skhrv avatar plugin73 avatar voitd avatar mityadementiy avatar zipofar avatar jougene avatar disheg avatar rexemtoxa avatar ayshvab avatar yoffic avatar vicimpa avatar greybutton 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.