Skip to content

lab360-ch/django-frontify

Repository files navigation

django Frontify

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

Installation

  • run pip install django-frontify
  • add django_frontify to your INSTALLED_APPS
  • add configuration (as mentioned below) to your settings file

Configuration

  • Set DJANGO_FRONTIFY_DOMAIN="<your-frontify-donmain>" in your settings.py
  • Set DJANGO_FRONTIFY_FINDER_VERSION=2 in your settings.py
  • Set DJANGO_FRONTIFY_CLIENT_ID="<your-client-id>" in your settings.py

Version usage

Frontify has released a new version of its Finder, which made the previous version (v1) a legacy version. To still use the legacy version, set DJANGO_FRONTIFY_FINDER_VERSION=1. Otherwise, beware that you've set DJANGO_FRONTIFY_CLIENT_ID="<your-client-id>"

Tecnical questions about frontify?

Frontify Slack Channel: https://frontify-friends.slack.com/join/shared_invite/zt-b910hbol-9cGnIaCet11a9D4uzpVWmQ#/shared-invite/email

Frontify API Documentation: https://developer.frontify.com/

Development

Localsetup

Run this command in one terminal

make runserver

and this in a other

make watch_static

now you should be able to accesses the example django project via http://localhost:8000

Release requirements

to release a package you have to add the following file

vim ~/.pypirc

with the following content

and install twine with pip install twine.

Release package

First do a test release with this command:

make test_release

then run this for the real release:

make release