lehrkraefte:blc:informatik:glf22:technisches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
lehrkraefte:blc:informatik:glf22:technisches [2022/08/25 09:13]
Ivo Blöchliger [Headline]
lehrkraefte:blc:informatik:glf22:technisches [2022/08/25 09:30]
Ivo Blöchliger [Installation]
Line 1: Line 1:
-====== git ======+====== Installation ====== 
 +  * Screencast der Installation: [[https://fginfo.ksbg.ch/~ivo/videos/informatik/22-23/01-Installation-der-Software.mp4|Web]] oder auf [[https://web.microsoftstream.com/video/44f6d270-0fe2-46ff-ae70-f9c19247a593|Stream]] 
 +===== git =====
   * [[https://git-scm.com/download/win|Download 64-Bit Git for Windows Setup]]   * [[https://git-scm.com/download/win|Download 64-Bit Git for Windows Setup]]
  
 git bringt auch gleich OpenSSL und bash mit. Und die Installation von git ist viel einfacher, als jene von OpenSSL ;-) git bringt auch gleich OpenSSL und bash mit. Und die Installation von git ist viel einfacher, als jene von OpenSSL ;-)
  
 +===== Python =====
 +Python kann über den Windows App Store (z.Z. Version 3.10) installiert werden. 
 +===== Visual Studio Code =====
 +Installation via Windows App Store.
 +
 +====== Konfiguration ======
  
 ==== Konfiguration der git-bash==== ==== Konfiguration der git-bash====
Line 11: Line 19:
   * Character-Set auf "UTF-8" einstellen.   * Character-Set auf "UTF-8" einstellen.
   * Speichern   * Speichern
 +Damit Python auch einfach auf der Kommandozeile läuft, schreiben wir erst eine Konfigurationsdatei, ebenfalls in der git-bash. Diese Anleitung ist inspiriert von [[https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash|hier]].
 +<code bash>
 +   cd ~
 +   touch .bashrc
 +   code .bashrc
 +</code>
 +Mit den obigen Kommandozeilen wechseln wir erst in unser Home-Verzeichnis mit ''cd''. Die Tilda steht für das Home-Verzeichnis, unter Windows normalerweise ''/c/Users/hansli'', wobei das in der Windows-Kommandozeile als ''C:\Users\hansli'' geschrieben würde.
  
 +Dann legen wir die Datei ''.bashrc'' an, bzw. aktualisieren das Datum falls diese schon existiert.
  
-====== Python ====== +Dann öffnen wir die Datei mit Visual Studio Code und hängen folgende Zeile am Schluss der Datei an (bzwals erster Eintrag, wenn die Datei noch leer war)
-Python kann über den Windows App Store (z.Z. Version 3.10installiert werden. +<code bash> 
 +alias python='winpty python' 
 +</code>
  
-Tweaks for git-bash: +Hinweis zur Benutzung von git-bash:
-  * run pyton with ''winpty python'' https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash+
   * Ctrl-D ist «Ctrl-Z Enter»   * Ctrl-D ist «Ctrl-Z Enter»
-  * Encoding auf UTF-8 einstellen (-> Klick auf Icon oben links, Optionen -> Text) 
  
- 
-====== Visual Studio Code ====== 
-Installation via Windows App Store. 
 ====== Python im Browser ====== ====== Python im Browser ======
   * Brython   * Brython
   * Pyodine   * Pyodine
  • lehrkraefte/blc/informatik/glf22/technisches.txt
  • Last modified: 2022/08/25 09:43
  • by Ivo Blöchliger