Сodebattle - 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 subscribe on last game updates.
$ 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 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
To build stat.json and see details in browser run:
yarn profile:build yarn profile:visualize
Make sure you have installed
docker-compose for your OS.
Make sure your docker daemon is running. You can run it manually by typing:
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.
Create the docker group.
sudo groupadd docker
Add your user to the docker group.
sudo usermod -aG docker $USER