-
Notifications
You must be signed in to change notification settings - Fork 2
Usage
Sayan Sil edited this page Oct 23, 2022
·
10 revisions
- For visualization,
pip install -r visualization/requirements.txt- Navigate to the root directory of the project and set the environment variable
ECOSYSTEM_ROOT
cd Ecosystem
export ECOSYSTEM_ROOT=`pwd`- List all available build presets. Any of the listed presets can be used to build the project.
cd simulation
cmake --list-presets
cmake --preset <preset-name>
cmake --build --preset <preset-name>| OS | Recommended Preset |
|---|---|
| Linux | lin-gcc-rel |
| OSX | osx-clang-rel |
| Windows | win-msvc-rel |
- Create folders with the name of the required species in the directory of their kingdom.
mkdir ../../data/json/animal/<animal-species>
mkdir ../../data/json/plant/<plant-species>For example,
mkdir ../../data/json/animal/deer
mkdir ../../data/json/plant/bamboo
mkdir ../../data/json/animal/lion- Run the setup file generated in the build directory to create/populate required files and databases
./setup/setup- Open and edit the pre-populated
base.jsonandmodify.jsonfiles for the species which were defined earlier. The files will be found inside the directoriesdata/json/<kingdom>/<species>
🏠 About | 🔌 Setup | 🔩 Framework | 💻 Code