Table of Contents
VFOSS Work Log
TODOs
- GG adsense rejected because many links not leading to sites (bottom bar).
Features
- Ask integration
- Forum integration
- Categories / Tags (WIP) branch menu
20200103
- moving to newer Django and k8s with minikube.
2017/02/19
TODO: http://localhost/~dang/wiki/doku.php?id=projects:vfoss_org:vfoss_org_administration#handling_data
- How to backup, migrate data???
2017/01/31
- Migrate code to docker deploy
- Test locally
2016/12/05
- Create branch vfossnewsdevupgrade * Upgrade system to django 1.9 and cms 3.4 * Upgrade all packages: http://localhost/~dang/wiki/doku.php?id=programming:django:django_tutorial:tut_50_upgrade_django#load_url_from_future Result: (SOLVED) Brocken djangocms-blog, can not do frontend editing blog articles. * Problem was middleware settings not updated for django-cms 3.4.1 * Try selecting correct template using frontend editing ===== 2016/12/04 ===== * Fix various templates * Home template 2 col * django-admin have problem with translation: * https://datascience.blog.wzb.eu/2016/08/09/displaying-translated-foreignkey-objects-in-django-admin-with-django-hvad/ * https://github.com/KristianOellegaard/django-hvad/issues/187 Result: simple working branch vfossnewsdev ===== 2016/11/29 ===== * Modified vfossnews model and makemigrates vfossnews, migrate vfossnews to update database.
- vfoss_news now use django-hvad for translation.
- NOTE: Do the same on production machine!!
Failed steps:
- changed vfossnews plugin modle and can not migrate: * remove vfossnews/migrates/006
- makemigrations
- migrate –> error
Solution: reversed all changes to cms-Plugin model names
2016/11/27
- Use structure like this https://github.com/aptivate/cmsbootstrap/tree/master/cmsbootstrap/templates/custom with custom extend core pages.
- Template for different layouts for each pages: home (3cols), blog, news (1 cols)
2016/10/11
- Merge menu update to production
- Note when merging settings and wsgi from for testing env are merged and must be reversed.
2016/10/05
- Working with menu: branch menu
- http://docs.django-cms.org/en/release-3.3.x/topics/menu_system.html
* http://docs.django-cms.org/en/release-3.3.x/reference/navigation.html
Problem
Show nav menu root page on all pages. Useful for top navigation which should contain links to all app. Then in each page/app navigation only show submenu of that app.
Solution
{% show_menu_below_id current_page.get_root.reverse_id 0 100 1 0 %}
is the best way, i dont try to put VAR into… Its simply and realyusefull :)
Remove soft-root for app pages and use normal showmenu tag to show the app's child pages: {% showmenu 1 10 0 10 “new_theme/templates/includes/menu/navigation.html” %}
2016/08/28
- Ansible for master postgres. TODO slave configuration
- Working with master branch
18-08-2016
- TODO secrets from settings.py to env.json. Test master then merge production
- setup postgre on dev machine –> ansible?
- fail: ansible-playbook vfossdevpostgressetupplaybook.yml -v
25-09-2015
Test misago forum
/home/dang/data/workspace/70projectvfoss/misagodevws
Error
ImportError: No module named embercliredirects
Wait for future updates.
Integrate Facebook Social Features
https://pypi.python.org/pypi/django-social-widgets
11-09-2015
Post news to FB with https://github.com/fcurella/django-social-share
03-09-2015
misago master evolves towards version 0.6 (django 1.8)
misago should be installed standalone, with separate env. Integration with existing django project is not supported.
16-08-2015
Pump project to django 1.8.2 and django-cms 3.1.2. TODO: patch applied! update to django-cms 3.1.3
Integrate misago forum: http://localhost/wiki/doku.php?id=projects:vfoss_org:apps:misago_forum
07/9-06-2015
31-05-2015
working with this doc:
Use djangocms-blog instead of aldryn things. Setup env on lenovo laptop.
20150206
- FOSD feature oriented software development: https://django-productline.readthedocs.org/en/latest/
- dev FOSD with apt http://ape.readthedocs.org/en/latest/install.html
CLOSED
20150131
Change working dir:
/mnt/extdata/workspace/70_project_vfoss/vfoss_django_dev_ws/vfoss_org /mnt/extdata/workspace/70_project_vfoss/vfoss_fosd
[dang@dai142 vfoss_org]$ git remote --verbose origin https://thuydang@bitbucket.org/thuydang/vfossorg_pj.git (fetch) origin https://thuydang@bitbucket.org/thuydang/vfossorg_pj.git (push)