In order to run the dev server, CodeCombat needs you to run the following scripts:
coco/bin/coco-mongodb
(starts MongoDB, which stays running and awaits connections)coco/bin/coco-brunch
(starts brunch, which stays running and watches for file changes, may need to be run as sudo to increase the ulimit if brunch fails)coco/bin/coco-dev-server
(starts your local webserver, which stays running and watches for file changes)
I don't trust myself to remember that every time, so I made this alias and function to help me (added to my ~/.zshrc
):
# This should point to wherever you have the folder for your code climate repo.