82 lines
2.5 KiB
Plaintext
Executable File
82 lines
2.5 KiB
Plaintext
Executable File
|
||
# $Id$
|
||
# $HeadURL$
|
||
# $Author$
|
||
# Created by Norbert Thoden, SLSE, 2021-03-16
|
||
|
||
Um die postProcessingExcon Scripte laufen zu lassen sind erforderlich
|
||
- xls2csv zypper in xls2csv
|
||
- cs2cs zypper install proj
|
||
|
||
In dem Unterverzeichnis vwm_adjustment befinden sich die Scripte von Manfred Gronak.
|
||
Sie dienen dazu, die Positionen der Anbringungspunkte der BSM (aussen) so zu verschieben,
|
||
dass bei Beschuss der korrekte Raum beschädigt wird.
|
||
|
||
Um die js-Files auszuführen sind ein paar Vorbereitungsschritte notwendig:
|
||
|
||
- Repository für NodeJS hinzufügen (Es sollte aktuell sein, damit die Nachinstalltionen per npm funktionieren)
|
||
(192.168.133.111 -> Repo-Server bei Mike Wille)
|
||
|
||
--------------------
|
||
ctc@CTCAP15:/etc/zypp/repos.d> cat nodejs.repo
|
||
[nodejs]
|
||
name=nodejs
|
||
enabled=1
|
||
autorefresh=1
|
||
baseurl=http://192.168.133.111/pub/repositories/devel:/languages:/nodejs/openSUSE_Leap_15.1/
|
||
path=/
|
||
type=rpm-md
|
||
keeppackages=0
|
||
--------------------
|
||
|
||
|
||
Unklar ist, welche Version nun tatsächlich notwendig ist...
|
||
sudo zypper install nodejs
|
||
sudo zypper install nodejs12
|
||
|
||
|
||
|
||
|
||
- ein paar js-Pakete nachinstallieren:
|
||
|
||
- Proxy-Settings:
|
||
(Aucvh wenn im Netz oft die Notation die Notation mit "@" zu lesen ist,
|
||
|
||
USER@PWD|PROXY:PORT --> bei OpenSuse 15.1 hat funktioniert: NEIN
|
||
USER:PWD|PROXY:PORT --> bei OpenSuse 15.1 hat funktioniert: JA
|
||
|
||
npm config set proxy http://<MAIL_ADR>:<PWD>@213.61.254.67:8080
|
||
npm config set https-proxy http://<MAIL_ADR>:<PWD>@213.61.254.67:8080
|
||
|
||
->
|
||
cat ~/.npmrc
|
||
proxy=http://norbert.thoden%40lifemaps.com:<PWD>@213.61.254.67:8080/
|
||
https-proxy=http://norbert.thoden@lifemaps.com:<PWD>@213.61.254.67:8080
|
||
|
||
- npm install
|
||
npm install xml2json
|
||
npm install fs
|
||
npm install xml-formatter
|
||
npm install js2xmlparser
|
||
|
||
Thore:
|
||
>>>Hallo,
|
||
auf dem guez-15-1-qt-5-15-rpmbuild - 10.198.80.103 ist das bereits entsprechend umgesetzt:
|
||
Zur nachlese:
|
||
|
||
zypper ar http://10.198.80.75/opensuse/15.1/repositories/devel:/languages:/nodejs/openSUSE_Leap_15.1/ nodejs;
|
||
zypper rm nodejs10 nodejs10-devel –y && zypper in nodejs12 nodejs12-devel –ly;
|
||
npm config set proxy http://10.198.80.60:3128;
|
||
npm config set https-proxy http://10.198.80.60:3128;
|
||
npm install npm@latest;
|
||
npm install xml2json fs xml-formatter js2xmlparser;
|
||
npm config delete proxy;
|
||
npm config delete https-proxy; <<<
|
||
|
||
Mit su (ohen -) habe ich dann noch machen müssen:
|
||
npm install -g xml2json fs xml-formatter js2xmlparser
|
||
|
||
mit npm -list -g sieht man dann, WO diese sind -> NODE_PATH
|
||
|
||
|