-
-
Notifications
You must be signed in to change notification settings - Fork 14
Setting Up your Development Environment
The following is just basic web development stuff, nothing special for Bloom here.
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
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.
If you don't already use the Node Package Manager, install it.
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.)
This process is very similar to the one for Bloom Desktop. See BloomDesktop Workflow