Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

Creating a new webtool

Pablo Conesa edited this page Jan 5, 2016 · 4 revisions

Steps to create a new web tool:

  1. Add an entry point in the services page: Go to webservice_projects.html and add an entry point for the new webtool.

    • Create the webtool home page: We need to create the webtool home page.

    • Create a python package for the webtool inside under pyworkflow/web/webtools/

    • now, in the webtool package folder:

    • in the init.py add "from urls import urls"

    • create urls.py based on other webtools an customize appropriately.

    • create views.py based on other webtools an customize appropriately.

    • For this you might need to create the test data: add your test data in the Test/init.py file and use it in the create project method.

    • create the .js utils file based on other webtools an customize appropriately under <webtool_package>/resources/js/

    • create the .html file based on other webtools an customize appropriately under <webtool_package>/templates

Clone this wiki locally