battlecode / galaxy

MIT License
10 stars 3 forks source link

Galaxy

CI

Galaxy is the framework that powers the infrastructure for MIT Battlecode. The galaxy consists of three main parts:

Development environment installation

Please follow these steps carefully to ensure your development environment is initialized correctly.

  1. Clone this repository at battlecode/galaxy.
  2. Install Conda, our package-manager and build-system. Prepare your environment using conda env create -n galaxy -f environment-dev.yml and conda activate galaxy.
  3. We use Pre-commit to sanity-check the codebase before committing. It will be automatically installed by Conda. Your local git will reject commits that fail these sanity-checks. Initialize Pre-commit using pre-commit install.

If the Conda specifications are updated upstream, you can refresh your local environment to match it by running conda env update -n galaxy -f environment-dev.yml.

Afterwards, to run systems locally, see each of their respective directory's readme files.

Development workflow

See docs-general/workflow.md for workflow information. Reading this page, especially the "Coding" and "Review" sections, before starting work is highly recommended.

For specific development workflows in each module, see the README files in the respective folder.