Parasol OS Dev: Difference between revisions
| (4 intermediate revisions by 2 users not shown) | |||
| Line 53: | Line 53: | ||
===os_public=== | ===os_public=== | ||
{{:Pslsrv62}} | |||
==Datenbank== | ==Datenbank== | ||
| Line 91: | Line 79: | ||
Agentursoftware SDK | Agentursoftware SDK | ||
Bootstrap | Bootstrap | ||
| Line 120: | Line 106: | ||
including | including | ||
t.b.d. What is a shared function? e.g. Format a date. | |||
t.b.d. What is a shared function? e.g. Format a date. | |||
==== Unique ==== | ==== Unique ==== | ||
Latest revision as of 15:35, 11 April 2019
Parasol OS Ecosystem
[edit]Google API Console
[edit]Development & Test
https://console.developers.google.com // parasol-island.com // Parasol OS - Develop (ID: daring-precinct-158809 Owner: os@parasol-island.com)
Live
https://console.developers.google.com // parasol-island.com // Parasol OS - Production (ID: parasol-os-production Owner: os@parasol-island.com)
Repositories
[edit]os_local
[edit]Maintainance und Servicescripte (die auf interne Systeme zugreifen) sowie die ParasolOS MySQL Datenbank.
git@gitnew.parasol-island.com:psl/os_local.git
10.100.10.61 https://pslsrv61.parasolisland.local
os_shared
[edit]Templates, shared code. Wird als Subrepository "os_local" und "os_public" eingebunden.
No Hosting, just a repo.
git@gitnew.parasol-island.com:psl/os_shared.git
Parasol OS Theme
[edit]Liegt in "/os_shared/theme/theme-dashboard/parasol_os/"
Den Folder "parasol_os" in das Projekt symlinken (ln -s ../ usw.).
os_public
[edit]Interne Parasol OS Anwendungen wie bsp. die Powermap oder das Ressourcenplanungs Tool.
git@gitnew.parasol-island.com:psl/os_public.git
10.190.10.62 https://pslsrv62.parasolisland.local
Subprojects
[edit]psl / crm psl / editorial ...
Server
[edit]os_local
[edit]pslsrv61 IP 10.100.10.61
os_public
[edit]pslsrv62
[edit]Apache2 Webserver for public Parasol OS Applications (os_public )
Local IP: 10.190.10.62
Public IP: 185.6.68.172
DNS Name: os.parasol-island.com
Monitoring
[edit]PHP FPM
[edit]https://os.parasol-island.com/serverstatus/fpmstatus?html&full
https://os.parasol-island.com/serverstatus/fpmping?html&full
/var/log/phpfpm/os_public.log.slow
PHP
[edit]https://os.parasol-island.com/serverstatus/phpinfo.php
OP Cache
[edit]https://os.parasol-island.com/serverstatus/opcache.php
Datenbank
[edit]
TBSorted
[edit]app.parasol-island.com
[edit]Externe Anwendungen bsp. für Kundenprojekte ohne eigenes Hosting oder Anwendungen für Kunden.
Hosted @Timme
git@gitnew.parasol-island.com:psl/app.parasol-island.com.git
https://drive.draw.io/?#G0Bxz1zEYCdP1MVTAzb1JkcGExejQ
Libraries
[edit]Shared
[edit]Zend Framework
Agentursoftware SDK
Bootstrap
Select2
Datepicker (to be decided)
GAM
Google API's
Datafield Tabesorter
Facebook SDK
Mandrill
Unique
[edit]t.b.a.
Functions
[edit]Shared
[edit]/inc/functions.inc.php
including
t.b.d. What is a shared function? e.g. Format a date.
Unique
[edit]Configuration
[edit]Shared
[edit]/inc/config.inc.php
API Keys
....
Unique
[edit]APP/inc/config.inc.php
App Configuration like defaults
Local
[edit]move to myapi3 discimhgae or use __DIR__
Error
[edit]Unique Errorlog per App /var/log/app_APPNAME.log
Like Syslog.
TBD:
Provide example
Name Pattern for logfiles
Check Logrotate.
Doku
[edit]Filestructure
[edit]/clients/htdocs/fca > provided using a unique url (like fca.parasol-island.com)
/htdocs/inc/vendor/
Provides shared PHP Libraries
/htdocs/inc/vendor/bower_components
Provides shared PHP Libraries using Bower
/htdocs/ >> Parasol OS Apps
Authenticate or limit IP (.htaccess);
/htdocs/app_APPNAME
/key/ >> Keyfiles
/local/ app that run from the CLI
Inside every App there is a readme.txt desc. the apps purpose.
T.B.D.
[edit]Move libraries and functions, etc. outside webroot.
Move every unfinished app to prototypes;
protect prototypes to certain ip's (david, peter, sebastian)
Make List of apps in htdocs, cleanup.
Than move shared libraries and retest apps/software.
Agentursoftware API
[edit]Agentursoftware Status ID's ([projectStatus])
[edit]1 = erwartetes Projekt
2 = Anfrage
3 = Angebot
4 = Auftrag
5 = abgeschlossen
6 = storniert
Agentursoftware Status ID's ([type])
[edit]0 = Urlaub
1 = Krankheit
2 = Ausgleich
3 = Sonderurlaub
?? = Sonderurlaub
Trigger
[edit]Agentursoftware
[edit]trig_asnewproject.php?mode=addproject|addprojectfolder|editproject
addproject
[edit]/var/www/myapi3/htdocs/inc/api/handler.php createRedmineProject
Ressourcenplanungs Tool
[edit]siehe Wiki Artikel hier: Ressourcenplanungs_Tool