Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

City-of-Bloomington/content-converter

Repository files navigation

Site Migration

Site Migration is a web based application to help track the migration of content from one content management system to another. This is useful for non-automated site migrations, when an audit of all content is desired before giving it a place in the new system.

As content grows over time in a content management system, documents get forgotten and abandoned. It can be difficult to know if content is no longer relevant and out of date, or if it is a viable resource that just doesn't change frequently. Traffic statistics and analytics can help give clues in this regard, but they're not a silver bullet. They won't help with duplicated content, or designing a better content architecture. Eventually it's a good idea to manually review, but that can be a daunting process with a large enough set of data.

Site Migration helps track this process. An initial scan of the source yields the list of pages to work on. These can then be prioritized, commented upon, and linked up with their destination.

Installation

Install Django, and install a database. This process is documented in detail as part of our systems-playbook repository:

https://github.com/City-of-Bloomington/system-playbooks

cd /path/to/system-playbooks/
ansible-playbook playbooks/content_converter.yml -i hosts.txt --ask-become-pass --ask-vault-pass

Clone this repository and edit converter/settings.py to reflect your database configuration.

After initializing the database with:

python manage.py migrate

Then need to import initial data via scripts directory:

cd scripts
python make_departments.py 

To run the web server directly:

python manage.py runserver 192.168.56.104:5000

You can also configure mod_wsgi to handle requests (see ansible playbook above), in which case the server should be available.

Notes

This application is written in Python on top of the Django framework, but the content management system being migrated from or to does not have to integrate with python directly. This system works with meta data or direct web requests.

About

Tool to help manage the manual migration of content from one system to another

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages