« Previous - Version 21/177 (diff) - Next » - Current version
Paul Carensac, 03/24/2016 05:32 pm


Project Development

Project Installation page : Project Installation

HOWTO Format Redmine Wiki : http://www.redmine.org/projects/redmine/wiki/FrRedmineWikiFormatting


TODO

  • Tester install eclipse from scratch (vérifier qu'on n'a plus besoin de faire "set as pydev" et "set as django" et set DJANGO_MANAGE_LOCATION et set DJANGO_SETTINGS_MODULE)
  • Séparation des BD Django et Pyros
  • Intégration des modules Django déjà développés
  • Intégration continue avec Jenkins (+ run des tests sur une VM Windows)
  • Planifier la suite...
  • Doc pour le meeting de mai

LIENS UTILES



I - DATABASE SCHEMA (v0.2.1)

Error executing the thumbnail macro (Attachment PYROS_PDM_v021.png not found)


II - Get the project (from gitlab)

Gitlab management interface

https://gitlab.irap.omp.eu/epallier/pyros

https://gitlab.irap.omp.eu/epallier/pyros/team

Get the project

https://projects.irap.omp.eu/projects/pyros/wiki/Project_Installation#II-Get-the-project-from-gitlab


III - INSTALLATION

https://projects.irap.omp.eu/projects/pyros/wiki/Project_Installation#III-INSTALLATION


IV - CONFIGURATION of the Django Back Office (administration interface)

Configuration of the Django Back office (admin)


V - EVOLUTION OF THE MODEL


Linking the User model to the django's one

  • Modifications in models.py :
    • Rename User model to PyrosUser
    • Rename user table name to pyros_user
    • Change all occurences (User -> PyrosUser, users -> pyros_users, ...)
    • from django.contrib.auth.models import User <== add at the beginning of the file
    • user = models.OneToOneField(User, on_delete=models.CASCADE) <== add in PyrosUser declaration
  • Modifications in admin.py :
    • Change all occurences (User* -> PyrosUser*, users -> pyros_users, ...)

VI - INSTALLATION FROM THE BEGINNING (for dev only, history of the initial project creation)

Pyros installation from the beginning

PYROS_PDM_v021.png (306 KB) Etienne Pallier, 03/24/2016 12:53 pm

models.py Magnifier (18.7 KB) Paul Carensac, 03/24/2016 03:30 pm

admin.py Magnifier (3.87 KB) Paul Carensac, 03/24/2016 03:30 pm

models.png (603 KB) Etienne Pallier, 04/01/2016 11:42 am

classes_dashboard.png (19.1 KB) Etienne Pallier, 04/01/2016 12:52 pm

classes_pyrosapp.png (2.09 MB) Etienne Pallier, 04/01/2016 12:52 pm

classes_pyrosappadmin.png (433 KB) Etienne Pallier, 04/01/2016 12:52 pm

IRAP-OFT-CC-SP-0007.pdf (630 KB) Etienne Pallier, 04/01/2016 04:25 pm