How to install django-pressroom
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install django-pressroom
Lastest release
Pressroom
Simple article management for the Django web framework.
Installation
Offical releases are available from http://pypi.python.org/pypi
easy_install django-pressroom
Tracking the Development Version
The current development version of Pressroom can be checked out via Subversion from the project site using the following command:
svn checkout https://django-pressroom.googlecode.com/svn/trunk django-pressroom
If you wish to contribute to pressroom, here is how to set up your development environment
cd django-pressroom virtualenv . --no-site-packages source bin/activate python bootstrap.py bin/buildout -v bin/django syncdb bin/django runserver
browse to http://localhost:8000/
Configure Your Django Settings
Add 'pressroom' to your INSTALLED_APPS setting:
- INSTALLED_APPS = (
- # ...other installed applications, 'photologue', 'pressroom',
)
* Confirm that your MEDIA_ROOT and MEDIA_URL settings are correct. *
Sync Your Database
Run the Django 'syncdb' command to create the appropriate tables.
Instant Pressroom
To use the included pressroom templates and views you need to first add pressroom to your projects urls.py file. Note: django-photologue (http://code.google.com/p/django-photologue/) is a dependancy of pressroom
# urls.py: urlpatterns += patterns('',
(r'^admin/(.*)', admin.site.root), (r'^pressroom/', include('pressroom.urls')), (r'^photologue/', include('photologue.urls')),)