SOCR / SOCRAT-issues

Project management for SOCRAT
2 stars 0 forks source link

create simple SOCRAT module #257

Closed alxndrkalinin closed 6 years ago

alxndrkalinin commented 6 years ago

Practice creating a simple SOCRAT module without UI in your fork as described in the first part of Wiki tutorial.

Create a separate commit for every step with the commit message in the required format.

  1. Make sure your fork synced with SOCR/SOCRAT
  2. In your fork create a new branch simple_module from dev branch

Create module config with 2 standard services (initService, msgService), 1 custom service, and a RunBlock:

  1. Create initService, msgService, and customService
  2. Add module to the SOCRAT/app/scripts/App/AppModuleList next to Database module
  3. Create RunBlock
  4. If everything is done right, your module should start along with other modules when SOCRAT starts (see output in the console) and show the alert message defined in the custom Service
  5. Create a pull request from your new branch into SOCR/SOCRAT:dev
alxndrkalinin commented 6 years ago

If you implemented the custom module successfully and it worked, take a screenshot of your local SOCRAT with alert that module shows. Include the time and the date. Post it as a comment to this task.

Re-open for now.

alxndrkalinin commented 6 years ago

@hrohil I don't see the screenshot attached – reopen

hrohil commented 6 years ago

image.png