pip and easy_install¶
Easiest way to install BFM is to use
$ pip install django_bfm
And second to easiest is with
$ easy_install django_bfm
Using easy_install is discouraged. Why? Read here.
Alternatively, you can clone and install from Github repository, where project is developed.
$ git clone git://github.com/simukis/django-bfm.git $ cd django-bfm $ python2 setup.py install
or with pip:
pip install -e git+git://github.com/simukis/django-bfm.git#egg=Package
Do not forget to compile .coffee files yourself if you are cloning
master. You can do so by running
After downloading and installing BFM, you need to configure your Django project.
url(r'^files/', include('django_bfm.urls')),to your
- Make sure you have staticfiles enabled (with a context processor) and run python manage.py collectstatic,
- Make sure, that static files are served correctly by your production server.
You don’t need to run collectstatic if you are working in develovepment server. It serves files automatically.