Skip to content

Setting Up your Development Environment

John Hatton edited this page May 18, 2017 · 5 revisions

The following is just basic web development stuff, nothing special for Bloom here.

Server

You need some way to serve up pages to yourself as you develop. A nice option is lite-server. Install it globally

npm install -g lite-server

CD into the build directory and start the server there

lite-server

Note that it will auto-refresh your pages, but grunt gets nervous building while that is running. So far I've had find luck just doing

grunt --force

IDEs

Use whatever you like. JetBrains has kindly granted an open source license to WebStormfor development of Bloom by the core team. Or you can use VS, Eclipse, VIM, whatever.

Node

If you don't already use the Node Package Manager, install it.

Karma

We're using karmaas a continuous background test runner (with Jasmine as the unit test framework).

npm install -g karma

(You can execute this command from a DOS prompt. -g makes it global so it doesn't matter what your current directory is. I think you need to open the DOS window AFTER installing Node Package Manager, so it will know the addition NPM makes to your path and thus be able to find the command.)

Working with the repository

This process is very similar to the one for Bloom Desktop. See BloomDesktop Workflow

Clone this wiki locally