django-fobi/examples
2015-02-10 14:02:18 +01:00
..
media/static/css initial 2014-10-11 05:54:24 +02:00
mezzanine_example prepare 0.4.7; fix broken imports in CAPTCHA in ReCAPTCHA plugins; temporary left out the cloneable column from dashboard templates; add more readme files to example project sub packages; documentation updates; updated the licensing information about 3rd party packages 2014-12-24 01:49:42 +01:00
quickstart more on preparing the 0.4.16; adding docs 2015-02-10 14:02:18 +01:00
simple more on preparing the 0.4.16; adding docs 2015-02-10 14:02:18 +01:00
tutorial prepare 0.3; minor core improvements related to form handler plugins; several content plugins renamed (image, text, video); dummy plugin moved from content to test; readme added for image, text, video and dummy plugins; styling and custom templates for db_store plugin under foundation 5 theme (with use of widgets for form handlers); minor improvements of db_store plugins; birthday field added; mention fobi_find_broken_entries in the documentation 2014-11-09 03:21:32 +01:00
__init__.py initial 2014-10-11 05:54:24 +02:00
django_fobi_example_app_installer.sh updated demo script 2014-11-23 02:18:42 +01:00
README.rst prepare 0.1.6; minor theming API improvements; major FeinCMS integration app (widget) improvements; fixes in help_text of radio select 2014-10-25 22:32:55 +02:00
requirements.txt add information about heroku demo app links to translations section; add django-localeurl to the example project 2015-01-16 23:19:27 +01:00
requirements3.txt initial 2014-10-11 05:54:24 +02:00
requirements_captcha.txt prepare 0.4.5; mezzanine integration added; recaptcha plugin added; remove reduntant dependencies; minor improvements in the discover module; update the docs and changelog 2014-12-17 01:06:23 +01:00
requirements_demo.txt updated demo script 2014-11-23 02:18:42 +01:00
requirements_djangocms.txt more on preparing the 0.4.16; adding docs 2015-02-10 14:02:18 +01:00
requirements_djangocms_2.txt prepare 0.4.4; documentation improvements; updated Dutch and Russian translations; minor fixes related to lazy translations 2014-12-06 00:09:33 +01:00
requirements_feincms.txt prepare 0.4.10; minor fixes in FeinCMS integration app 2014-12-28 02:20:26 +01:00
requirements_recaptcha.txt prepare 0.4.5; mezzanine integration added; recaptcha plugin added; remove reduntant dependencies; minor improvements in the discover module; update the docs and changelog 2014-12-17 01:06:23 +01:00

============================================
Example project for `django-fobi`
============================================
Follow instructions below to install the example project. Commands below are written for Ubuntu/Debian,
but may work on other Linux distributions as well.

- Create a new- or switch to existing- virtual environement.

    $ virtualenv fobi

    $ source fobi/bin/activate

- Download the latest stable version of django-fobi.

    $ wget https://github.com/barseghyanartur/django-fobi/archive/stable.tar.gz

- Unpack it somewhere.

    $ tar -xvf stable.tar.gz

- Go to the unpacked directory.

    $ cd django-fobi-stable

- Install Django, requirements and finally django-fobi.

    $ pip install Django

    $ pip install -r example/requirements.txt

    $ pip install -e git+https://github.com/barseghyanartur/django-fobi@stable#egg=django-fobi

- Create some directories.

    $ mkdir -p examples/media/static/ examples/static/ examples/db/ examples/logs

- Copy local_settings.example

    $ cp examples/simple/local_settings.example examples/simple/local_settings.py

- Run the commands to sync database, install test data and run the server.

    $ python examples/example/manage.py syncdb --noinput --traceback -v 3

    $ python examples/example/manage.py migrate --noinput

    $ python examples/example/manage.py collectstatic --noinput --traceback -v 3

    $ python examples/example/manage.py fobi_create_test_data --traceback -v 3

    $ python example/example/manage.py runserver 0.0.0.0:8001 --traceback -v 3

- Open your browser and test the app.

Fobi interface:

- URL: http://127.0.0.1:8001/forms/builder/
- Admin username: test_admin
- Admin password: test

Django admin interface:

- URL: http://127.0.0.1:8001/admin/
- Admin username: test_admin
- Admin password: test

Various setups
============================================
There are number of setups included (names are self-explanatory):

- Bootstrap3 theme + Captcha (runserver-bootstrap3-theme-captcha) :8000
- Bootstrap3 theme + Django 1.7 + Captcha (runserver-bootstrap3-theme-django17-captcha) :8000
- Bootstrap3 theme + Django 1.7 (runserver-bootstrap3-theme-django17) :8000
- Bootstrap3 theme + FeinCMS integration (runserver-bootstrap3-theme-feincms-integration) :8000
- Bootstrap3 theme (runserver-bootstrap3-theme) :8000

- Foundation 5 theme + FeinCMS integration (runserver-foundation5-theme-feincms-integration) :8001
- Foundation 5 theme :8001

- Override of the simple theme (runserver-override-simple-theme) :8003

- Simple theme (runserver-simple-theme) :8002