Skip to content

Working title for a generic publishing app to integrate with divio/djangocms-moderation

Notifications You must be signed in to change notification settings

mmoravcik/djangocms-article-drafts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

djangocms-article-drafts

Working title for a generic publishing app to integrate with divio/djangocms-moderation.

The goal is to provide generic publish functionality to Articles as well as Pages.

Installation

We need to install the djangocms and then add this repository as a dependency:

  1. Create and activate new virtual env, e.g.

    mkvirtualenv testenv

  2. Create a project folder, e.g.

    mkdir ~/workspace/testproject/

  3. cd ~/workspace/testproject

  4. Install djangocms

    pip install djangocms-installer

  5. Setup djangocms, e.g.

    djangocms -f -p . testsite

  6. pip install djangocms_helper

  7. Add the following email settings to settings.py

    # This will ensure that emails will be printed to the console instead of real send
    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  1. Fork https://github.com/trojjer/djangocms-article-drafts

  2. Clone yours djangocms-article-drafts app from github into separate folder, e.g. ~/workspace/djangocms-article-drafts/

  3. Go to the main project folder cd ~/workspace/testproject and install the package from your local folder

    pip install -e ~/workspace/djangocms-article-drafts/

  4. Add djangocms_article_drafts and adminsortable2 to the INSTALLED_APPS in settings.py

  5. python manage.py migrate

  6. python manage.py test djangocms_article_drafts

Now you can make changes to your local ~/workspace/djangocms-article-drafts/ repository and changes will be reflected in your testproject.

About

Working title for a generic publishing app to integrate with divio/djangocms-moderation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%