Skip to content

qlands/formshare-cookiecutter-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FormShare Plugins Template

A Cookiecutter (project template) for creating FormShare plugins.

Requirements

Usage

  1. Generate a FormShare plugin project, following the prompts from the command
    $ cookiecutter https://github.com/qlands/formshare-cookiecutter-plugin
  2. Finish configuring the plugin by creating a virtual environment and installing your new project.
    $ . ./formshare_virtual_env/bin/activate
    $ cd myFormSharePlugin
    $ python setup.py develop
    # Create and apply an initial version of the DB for the plugin
    $ mv alembic.example.ini alembic.ini
    # Edit the alembic.ini an replace sqlalchemy.url with the one in the FormShare ini file
    $ alembic revision --autogenerate -m "Initial version"
    $ alembic upgrade head
  3. Add the plugin to the FormShare list of plugins by editing the following line in development.ini or production.ini
        #formshare.plugins = examplePlugin
        formshare.plugins = myformshareplugin
    
  4. Run FormShare

About

A Cookiecutter (project template) for creating a FormShare plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published