This project is developed for Impact Engine Framework as part of the models (plugins) for the Impact Engine Framework. This project included three newly introduced models (plugins) for the Impact Engine Framework:
The project is developed by UCL students as part of the COMP0101 module. And this project is supervised and guided by the Green Software Foundation.
If you want to install this repository as a local dependency for Impact Engine Framework or other projects, you can install the package via npm:
npm install GrayNekoBean/if-optimisation-plugins
If you want to install this repository as a global package for your node.js environment, you can install the package globally via npm:
npm install -g GrayNekoBean/if-optimisation-plugins
-
Start the API:
- Open a terminal window in the root directory of your project.
- Execute the script by running:
./api_start.sh
-
Open Command Palette:
- Press
Ctrl
+Shift
+P
to open the Command Palette in your code editor.
- Press
-
Select Project Folder:
- Use the Command Palette to select the
carbon-aware-sdk
folder, which should be located in the same directory where you cloned this project.
- Use the Command Palette to select the
-
Run Startup Script:
- In the terminal that opens within your selected folder, start the necessary services by running:
./start.sh
- In the terminal that opens within your selected folder, start the necessary services by running:
-
Install NPM Packages: Open a terminal window in the root directory of your project. Execute the script by running:
npm install
-
Quick Start There is one shell script in this repository that allows you to run the Impact Engine conveniently with the plugins in this repository. To use this script, you can directly run this script by executing the following command in the terminal:
./run.sh <manifest_file_path>
Or you can execute this shell script via NPM script by running:
npm run start -- <manifest_file_path>
There are some example manifest file in the
examples
folder. You can try to use these manifest files to run the Impact Engine with the plugins in this repository.