-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Dev Setup: Linux
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.
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
npm ci # to install from LOCK file OR npm install # to rebuild the dependencies
npm run build
npm run proxy
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.
CodeCombat | Home | Blog | Reddit | Teachers | Legal | Contribute | Helpdesk | Discord