- Clone the repo
- Open in your IDE (eg VS Code / IntelliJ)
- Open a terminal in your IDE, type
npm install
to install the project dependencies - Type
npm run dev
to start the dev server (or you can use tasks in your IDE)
- Open chrome://extensions
- Enable 'Developer Mode' checkbox
- Click 'Load unpacked extensions...'
- Select the
build/FoE-Info-Dev
folder
- Open your browser, goto
https://en0.forgeofempires.com
(you may use a different language, of course) - Ctrl-Shift-I to open devtools
- Click on
>>
in the devtools menu, then selectFoE-Info-Dev
- Start the game to run FoE-Info
- You can click on the tools icon to change options
- Right-click on the FoE-Info panel and select
inspect
- On the new window that opens, select
console
to see any errors or debug info - You can also click on the FoE-Info logo to enable debug mode (this will output more info when you load the game)