====== 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. * https://dev.to/briancaffey/setting-up-a-django-project-in-kubernetes-with-minikube-3k8i * ===== 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 vfoss_news_dev_upgrade * 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 vfoss_news_dev ===== 2016/11/29 ===== * Modified vfoss_news model and makemigrates vfoss_news, migrate vfoss_news to update database. * vfoss_news now use django-hvad for translation. * **NOTE:** Do the same on production machine!! Failed steps: * changed vfoss_news plugin modle and can not migrate: * remove vfoss_news/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) * Documented here: http://localhost/~dang/wiki/doku.php?id=projects:vfoss_org:django_vfoss:1_analysis_design#template_system ===== 2016/10/11 ===== * Merge menu update to production * https://bitbucket.org/thuydang/vfossorg_pj/issues/9/update-menu-system * **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/how_to/menus.html * 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 ==== * https://groups.google.com/forum/#!topic/django-cms/JTEg3PITNa0 {% 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 show_menu tag to show the app's child pages: {% show_menu 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 vfoss_dev_postgres_setup_playbook.yml -v ===== 25-09-2015 ===== ==== Test misago forum ==== /home/dang/data/workspace/70_project_vfoss/misago_dev_ws 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 ===== * http://localhost/wiki/doku.php?id=projects:vfoss_org:vfoss_news_app&#django_admin ===== 31-05-2015 ===== working with this doc: * http://localhost/wiki/doku.php?id=programming:django:django_cms:django_cms_installation_guide&s[]=migrate&s[]=zero * http://localhost/wiki/doku.php?id=programming:django:django_tutorial:tut_5_migration&#recreate_tables_from_migrations * http://localhost/wiki/doku.php?id=programming:django:django_tutorial:tut_5_migration 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/ * http://blog.kevinastone.com/django-model-behaviors.html * dev FOSD with apt http://ape.readthedocs.org/en/latest/install.html * http://fosd.net/ ====== 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)