-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Dev Setup: Windows
In the last few years, Windows has made huge progress with something called "WSL", which stands for Windows Subsystem for Linux. What this means is that you can put Linux inside of Windows, and use it for development.
Developing CodeCombat directly on Windows (not using WSL) is not recommended. It has a tendency to break, and it is hard to get it working well. Instead, we strongly recommend using WSL to develop your code.
Installing WSL only takes a few steps. There is now also WSL2, which is not required, but makes things a lot faster and is highly recommended.
- Install WSL (or WSL2)
- More details TBD
You will need to install the following:
- Node.js (LTS version should be fine, but Stable is preferred)
- Git
- Python 2.7
First open up cmd.exe
/Powershell/Git Bash/any terminal.
You'll want to fork the repo on Github, then clone it to your machine.
git clone https://github.com/$GITHUB_USERNAME/codecombat.git
cd codecombat
git remote add -f upstream https://github.com/codecombat/codecombat.git
You'll then want to install the dependencies and build the asset files.
npm install --global --production windows-build-tools@3.1.0
npm install
npm run webpack -- --watch
npm run proxy
Either run both of the above commands (live coding) or just npm run proxy
(just previewing) to run the website locally.
Visit http://localhost:3000 to see your CodeCombat setup in action.
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