A webapp/form for people to join pEp coop. Fork of Cultural Commons Collecting Society (C3S) SCE
Go to file
Arian Sanusi (p≡p Foundation) 7de7442d08
Merge branch 'c3s-master'
2018-05-03 15:36:28 +02:00
alembic Merge branch 'c3s-master' 2018-05-03 15:36:28 +02:00
c3smembership Merge branch 'c3s-master' 2018-05-03 15:36:28 +02:00
certificate remark about certificates folder 2014-12-17 13:31:20 +01:00
customization@3896c279f6 switch to pepcoop-customization 2018-04-23 12:15:42 +02:00
docs docs/development/setup_and_run: add missing package 2018-01-21 19:15:51 +01:00
import import the founders 2014-06-28 21:38:31 +02:00
membership_list_pdflatex Rename PDF membership list column 'Ant.' to 'Anteile'. 2017-01-23 23:00:37 +01:00
.gitignore Ignore Sublime Text settings. 2017-12-29 17:48:08 +01:00
.gitmodules switch to pepcoop-customization 2018-04-23 12:15:42 +02:00
CHANGES.rst Merge branch 'release/1.20.5' 2018-05-01 11:29:36 +02:00
CONTRIBUTORS.md Added list of contributors. 2015-02-12 21:49:35 +01:00
COPYRIGHT.rst Introduce design chapter with explanations and UML diagrams. 2015-12-24 21:15:19 +01:00
LICENSE.md Added copyright and license information for core application and redistributes works. 2015-01-29 21:51:03 +01:00
README.rst Add sentence in membership application form to clarify notice period 2017-08-30 22:50:17 +02:00
SqliteDecimal.py member col for member_type, fee 2018-04-24 13:03:19 +02:00
VERSION Set version number to 1.20.5 2018-05-01 11:24:50 +02:00
alembic.ini staffers can send out confirmation emails for signatures and payment 2013-12-27 16:46:32 +01:00
ci.sh bash safemode for ci.sh and i18n.sh 2018-04-17 16:18:05 +02:00
development.ini fix webdriver tests 2016-02-11 11:45:39 +01:00
i18n.sh bash safemode for ci.sh and i18n.sh 2018-04-17 16:18:05 +02:00
production.ini invitations for BarCamp and GeneralAssembly 2015 2015-04-24 09:42:49 +02:00
setup.cfg move localization to customization submodule 2018-04-23 11:52:36 +02:00
setup.py bump python-gnupg to 0.4.2 (current, unbreaks gpg > 2.13) 2018-04-11 12:42:32 +02:00
webdrivertest.ini fix webdriver tests 2016-02-11 11:45:39 +01:00


c3sMembership README

This Pyramid app handles membership for C3S SCE
(Cultural Commons Collecting Society SCE mit beschränkter Haftung.

The app that once started as a form to gain new members has
grown to a membership administration system catering to the needs of a
growing european cooperative (C3S SCE) with around 1000 members as of now.

Some features:

* Internationalisation (i18n)
* Membership information is persisted in a database.
* GnuPG encrypted mail with details submitted is sent to C3S staff.
* Once the email is verified, form submission data is used to populate a pdf with form fields
  (using fdf and pdftk) and the resulting PDF is ready for download.
* Membership certificates (pdflatex)
* Membership Dues (pdflatex)


There is plenty of documentation under /docs, both in this repository
and in the running app (if you have sphinx compile the docs to HTML):

   cd docs
   make html

A compiled version of the documentation is available at:


Install dependencies:


   $ sudo apt-get install python-pip python-dev python2.7-dev python-virtualenv libxml2-dev libxslt1-dev build-essential pdftk zlib1g-dev phantomjs


The .odt files for the membership application in pdftk require the font
Signika which can be downloaded at:

LaTeX pdf compilation:

   $ sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra pgf texlive-lang-german texlive-luatex


   $ virtualenv env
   $ env/bin/python setup.py develop

You might have to update the version of setuptools in your virtual environment
to get a recent version, then repeat the step above:
   > mock requires setuptools>=17.1. Aborting installation
   > error: Setup script exited with 1

   $ env/bin/pip install -U setuptools


   $ sudo apt-get install graphviz openjdk-7-jre-headless
   $ mkdir utils
   $ wget 'http://downloads.sourceforge.net/project/plantuml/plantuml.jar' -O utils/plantuml.jar
   $ env/bin/pip install sphinx sphinxcontrib-plantuml

Creating an initial database:

   $ env/bin/initialize_c3sMembership_db development.ini


Run (in development mode)


   $ env/bin/pserve development.ini --reload

The app will rebuild templates and reload code whenever there are changes by
using --reload.

Migrate database if database model changed (changed models.py?)
$ cp c3sMembership.db c3sMembership.db.$(date "+%Y-%m-%d_%H-%M-%S")
$ env/bin/alembic upgrade head

see https://yes.c3s.cc/docs/development/changes_branches_releases.html#the-production-branch

Run (in production mode, daemon mode)

   $ pserve production.ini start