Changeset - 9ada42501c2f
[Not reviewed]
default
0 3 0
Branko Majic (branko) - 11 years ago 2013-06-22 22:46:41
branko@majic.rs
Updated documentation and set-up script for new requirements.
3 files changed with 9 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/installation.rst
Show inline comments
 
@@ -31,7 +31,7 @@ Once the Django Conntrackt has been inst
 
steps in order to make it available inside of your Django project:
 

	
 
#. Edit your project's settings configuration file (``settings.py``), and update
 
   the ``INSTALLED_APPS`` to include the ``contrackt`` application.
 
   the ``INSTALLED_APPS`` to include applications ``south``, ``braces`` and ``conntrackt``.
 

	
 
#. Edit your project's URL configuration file (``urls.py``), and add the
 
   following line to the ``urlpatterns`` setting::
docs/quickstart.rst
Show inline comments
 
@@ -38,7 +38,12 @@ some basic settings:
 
#. Under ``DATABASES`` set parameter ``ENGINE`` to ``'django.db.backends.sqlite3'``.
 
#. Under ``DATABASES`` set parameter ``NAME`` to ``'conntrackt_test.sqlite'``.
 
#. Under ``INSTALLED_APPS`` uncomment the line ``'django.contrib.admin'``.
 
#. Under ``INSTALLED_APPS`` append line ``'conntrackt',``.
 
#. Under ``INSTALLED_APPS`` append lines::
 

	
 
     'south',
 
     'braces',
 
     'conntrackt',
 

	
 
#. Append the following lines to the end of the file::
 

	
 
     from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
setup.py
Show inline comments
 
@@ -2,6 +2,7 @@ import os
 
from setuptools import setup
 

	
 
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
 
REQUIREMENTS = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read().split("\n")
 

	
 
# allow setup.py to be run from any path
 
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
 
@@ -17,6 +18,7 @@ setup(
 
    url='http://projects.majic.rs/conntrackt',
 
    author='Branko Majic',
 
    author_email='branko@majic.rs',
 
    install_requires=REQUIREMENTS,
 
    classifiers=[
 
        'Environment :: Web Environment',
 
        'Framework :: Django',
0 comments (0 inline, 0 general)