Update readme
This commit is contained in:
parent
8755e42a83
commit
38b64c9eff
3 changed files with 20 additions and 13 deletions
8
Makefile
8
Makefile
|
@ -24,18 +24,18 @@ clean-pyc:
|
|||
|
||||
lint:
|
||||
flake8 djangocms_blog
|
||||
djangocms-helper djangocms_blog pyflakes --cms
|
||||
|
||||
test:
|
||||
python runtests.py test
|
||||
djangocms-helper djangocms_blog test --cms --nose
|
||||
|
||||
test-all:
|
||||
tox
|
||||
|
||||
coverage:
|
||||
coverage run --source djangocms-blog setup.py test
|
||||
coverage erase
|
||||
coverage run `which djangocms-helper` djangocms_blog test --cms --nose
|
||||
coverage report -m
|
||||
coverage html
|
||||
open htmlcov/index.html
|
||||
|
||||
release: clean
|
||||
python setup.py sdist upload
|
||||
|
|
21
README.rst
21
README.rst
|
@ -2,17 +2,21 @@
|
|||
djangocms-blog
|
||||
==============
|
||||
|
||||
.. image:: https://badge.fury.io/py/djangocms-blog.png
|
||||
:target: http://badge.fury.io/py/djangocms-blog
|
||||
|
||||
.. image:: https://travis-ci.org/nephila/djangocms-blog.svg?branch=develop
|
||||
:target: https://travis-ci.org/nephila/djangocms-blog
|
||||
.. image:: https://pypip.in/v/djangocms-blog/badge.png
|
||||
:target: https://pypi.python.org/pypi/djangocms-blog
|
||||
:alt: Latest PyPI version
|
||||
|
||||
.. image:: https://travis-ci.org/nephila/djangocms-blog.png?branch=master
|
||||
:target: https://travis-ci.org/nephila/djangocms-blog
|
||||
:alt: Latest Travis CI build status
|
||||
|
||||
.. image:: https://pypip.in/d/djangocms-blog/badge.png
|
||||
:target: https://pypi.python.org/pypi/djangocms-blog
|
||||
:alt: Monthly downloads
|
||||
|
||||
.. image:: https://coveralls.io/repos/nephila/djangocms-blog/badge.png?branch=develop
|
||||
:target: https://coveralls.io/r/nephila/djangocms-blog?branch=develop
|
||||
.. image:: https://coveralls.io/repos/nephila/djangocms-blog/badge.png?branch=master
|
||||
:target: https://coveralls.io/r/nephila/djangocms-blog?branch=master
|
||||
:alt: Test coverage
|
||||
|
||||
|
||||
A djangoCMS 3 blog application.
|
||||
|
@ -112,12 +116,13 @@ suited for your deployment.
|
|||
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
||||
|
||||
* To start your blog create a new page from the CMS and hook it to the blog application:
|
||||
|
||||
|
||||
* Create a new django CMS page
|
||||
* Go to Advanced settings and sele select Blog from the Application selector;
|
||||
* Eventually customise the Application instance name;
|
||||
* Restart the project instance to properly load blog urls.
|
||||
|
||||
|
||||
Templates
|
||||
+++++++++
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@ from tempfile import mkdtemp
|
|||
gettext = lambda s: s
|
||||
|
||||
HELPER_SETTINGS = {
|
||||
'NOSE_ARGS':['-s'],
|
||||
'NOSE_ARGS':[
|
||||
'-s',
|
||||
],
|
||||
'ROOT_URLCONF':'tests.test_utils.urls',
|
||||
'INSTALLED_APPS':[
|
||||
'django_nose',
|
||||
|
|
Loading…
Reference in a new issue