Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

General Hints

Dave Allen edited this page Jul 23, 2013 · 1 revision

Use the Gruntfile to run server and test server simultaneously

Run yeoman server on your project directory. With this still running, open up the Gruntfile and search for the following:

server:{
  port:3501
}

Change the port number, and then run yeoman server:test in a separate command terminal and voila: you should now have both a server and test server running simultaneously!

Logging through the S2Mapper

In test_config (app/components/S2Mapper/test/test_config.js) in the mapper, search for a parameter called logLevel. Setting this to zero will display much more information in the console about the ajax calls being made.

Our Git workflow

We currently use…

  1. Central repo, Sanger.
  2. Developer forks.
  3. Local clone of developer fork.
  4. Feature branch on your local repo.
  5. Rebase from Central repo master before committing.
  6. Push rebased feature branch to developer fork.
  7. Pull request to central repo master.

Repeat 4, 5, 6 and 7 for futher features/ bugfixes.