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.
This project exists thanks to all the people who contribute. Contribute guideline.
- Mac / Linux
- Docker
$ git clone [email protected]:hexlet-codebattle/codebattle.git
$ cd codebattle
$ make setup$ make compose$ make compose-test$ make compose-lint
# To run specific
$ make compose-mix-format
$ make compose-mix-credo
$ make compose-lint-js-fix$ mix upload_langs
$ mix images.push # all
$ mix images.push elixir
$ mix images.build # all
$ mix images.build elixir
$ mix images.pull # all
$ mix images.pull elixir
$ mix asserts.upload # Pulls from battle_asserts all issues and upserts into DB
#If you use images in dev env, run commands in make compose-bash- https://t.me/hexletcommunity channel: codebattle
- Install Docker
Make sure you have installed Docker Desktop for macOS.
brew install --cask dockerOr download Docker Desktop directly from: https://www.docker.com/products/docker-desktop
- Start Docker Desktop
Launch Docker Desktop from your Applications folder. The Docker icon will appear in your menu bar when it's running.
If you encounter issues, try restarting Docker Desktop from the menu bar icon or your Applications folder.
Docker Desktop will start automatically on boot by default. You can change this in Docker Desktop preferences if needed.
- Install Docker
Make sure you have installed Docker Engine for your Linux distribution.
Follow the official installation guide: https://docs.docker.com/engine/install/
- Start Docker service
Make sure Docker is running. You can start the Docker service manually by typing:
sudo systemctl start dockeror you can add it to startup by typing:
sudo systemctl enable docker- Add your user to the docker group
To run Docker without sudo, add your user to the docker group:
sudo usermod -aG docker $USERThen log out and log back in for the changes to take effect, or run:
newgrp dockerThis 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.
