-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
31 lines (21 loc) · 1019 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Introduction
============
This library packages `SpiffForm`_ for `fanstatic`_. It is aware of SpiffForm's
structure.
.. _`fanstatic`: http://fanstatic.org
.. _`SpiffForm`: https://github.com/knipknap/SpiffForm
This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory) are published to some URL.
Git subtree of SpiffForm
------------------------
We use git `subtree`_ to get SpiffForm.
.. _`subtree`: https://help.github.com/articles/working-with-subtree-merge
How::
$ git remote add -f spiffform https://github.com/lugensa/SpiffForm.git
$ git merge -s ours --no-commit spiffform/master
$ git read-tree --prefix=js/spiffform/resources/ -u spiffform/master
$ git commit -m "Subtree merged in js/spiffform/resources/"
Pull changes::
$ git pull -s subtree #this only works if we use not nested prefix name
$ git pull --squash -s subtree https://github.com/lugensa/SpiffForm.git master