Skip to content
AlexNetman edited this page Aug 6, 2024 · 79 revisions

Note: These notes are not updated by Codecombat(Coco) core developers often. Watch recent commits and think yourself.

Requirements

In 2024 COCO is using node 18. Install it using:

nvm install 18
nvm use 18

Keyserver might be useful:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

Installing Dependencies

npm ci # to install from LOCK file OR npm install # to rebuild the dependencies

Running

Development Server

npm run build
npm run proxy

Compile changes on the fly

npm run webpack -- --watch

This will start webpack (watches client files) and proxy (routes all server calls to CodeCombat's production servers). (You can also just use npm run proxy to run the server without keeping webpack watching for changes.)

Visit http://localhost:3000 to see your local CodeCombat setup.

Clone this wiki locally