Antragsfabrik der Piratenpartei Sachsen-Anhalt
- git
- python 3
- virtualenv
- pip
- jquery (tested with 1.11.1 - see below)
- npm (for grunt - to build markdown editor)
see requirements.txt
Prepare:
# git clone https://github.com/PiratenLSA/pyantragsfabrik.git
# cd pyantragsfabrik
# virtualenv env
# . env/bin/activate
# pip install -r requirements.txt
For Python 3 support in django-markdown-deux look below.
jQuery:
# wget -O antragsfabrik/static/antragsfabrik/javascript/jquery.min.js http://code.jquery.com/jquery-1.11.1.min.js
Markdown Editor
# cd /tmp
# git clone https://github.com/lepture/editor.git
# cd editor
# npm install
# npm install grunt-cli -g
# grunt copy
# grunt transport
# cp -r build /path/of/pyantragsfabrik/antragsfabrik/static/antragsfabrik/editor
Database & Start:
# python manage.py syncdb
# python manage.py migrate
# python manage.py runserver
Follow the instructions and open http://127.0.0.1:8000. For creating application types or set social media oauth keys open http://127.0.0.1:8000/admin/.
The dependency django-markdown-deux has no support for Python 3. To fix this look on GitHub at issue #4.
# git pull origin
# python manage.py syncdb
# python manage.py migrate
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
You can find a copy of the MPL in the LICENSE file or at http://mozilla.org/MPL/2.0/.
Authors:
- Christoph Giesel, Piratenpartei Sachsen-Anhalt