-
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 | Forum | Teachers | Legal | Contribute
- Home
- Archmage Home
- Artisan Home
- Diplomat Home
- Archmage General
- Mission statement
- Coco Models
- Coding Guidelines
- Cookbook
- File system
- JSON Schema
- Technical overview
- Testing
- Third party software and services
- Artisan General
- Building A Level
- Coding Guidelines for Artisans
- Editing Thang Components
- Important Artisan Concepts
- Keyboard Shortcuts
- Debugging
- Artisan How-To Index
- Diplomat General
- i18n
- i18n Glossary nb
- i18n Glossary ru
- i18n Glossary es-419
- Dev Setup
- Dev Setup: Linux
- Dev Setup: Windows
- Dev Setup: Mac
- Dev Setup: Vagrant
- Dev Setup: Issues
- Game Engine
- Component
- Multiplayer
- Surface
- System
- Thang
- Thang Component System
- Tome
- World
- Artisan Tabs
- Components And Systems
- Scripts
- Settings
- Thangs
- Other
- Aether
- Client models
- Developer organization
- Educational Standards
- Events, subscriptions, shortcuts
- Chat Room
- Chat Room Rules
- Permissions
- Project Ideas List
- Treema
- Versioning
- Views