👍🎉 First off, thanks for taking the time to contribute! 🎉👍
If you are looking for a good issue to start with, please check the following:
- good first issue - issues that should be pretty simple to implement,
- help wanted - issues that typically are a bit more involved than beginner issues,
- high priority - things to fix ASAP but often of higher complexity.
To build from source on your local machine, please follow the instructions below:
git clone https://github.com/EndstoneMC/endstone.git
cd endstone
The dependencies needed for the development of Endstone are provided Conan Package Manager (>=2.0
). The install
the package manager, run the following commands in your Python environment.
pip install conan
conan profile detect
First of all, add the funchook/1.1.3
recipe to your conan local repository.
conan export third_party/funchook --version 1.1.3
Then, run the following commands:
=== ":fontawesome-brands-windows: Command Prompt"
shell conan install . --build=missing -s compiler.cppstd=17 -s build_type=RelWithDebInfo -c tools.cmake.cmaketoolchain:generator=Ninja
=== ":fontawesome-brands-windows: Powershell"
shell conan install . --build=missing -s compiler.cppstd=17 -s build_type=RelWithDebInfo -c tools.cmake.cmaketoolchain:generator=Ninja -c tools.env.virtualenv:powershell=True
=== ":fontawesome-brands-linux: Linux"
```shell
conan install . --build=missing -s compiler.cppstd=17 -s compiler.libcxx=libc++ -s build_type=RelWithDebInfo -c tools.cmake.cmaketoolchain:generator=Ninja
```
Now, activate the build virtual environment create by conan.
=== ":fontawesome-brands-windows: Command Prompt"
cmd .\build\RelWithDebInfo\generators\conanbuild.bat
=== ":fontawesome-brands-windows: Powershell"
cmd .\build\RelWithDebInfo\generators\conanbuild.ps1
=== ":fontawesome-brands-linux: Linux"
```shell
source ./build/RelWithDebInfo/generators/conanbuild.sh
```
Run cmake
and check the version:
$ cmake --version
cmake version 3.22.6
cmake --preset conan-relwithdebinfo
cmake --build --preset conan-relwithdebinfo
To install Endstone from your local sources, simply run:
pip install -U .
We are building our documentation using Material for MkDocs.
The easiest way to install all the required dependencies is with pip
:
pip install -r docs/requirements.txt
After that, you can either:
mkdocs serve
mkdocs build