Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
playground:about:coworking:conda_python_node [2025/04/27 05:47] 3.20.206.27 alte Version wiederhergestellt (2024/01/23 20:17) |
playground:about:coworking:conda_python_node [2025/05/16 11:14] (aktuell) 20.171.207.88 alte Version wiederhergestellt (2025/05/15 23:05) |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Erstellen einer Enticklungsumgebung für Python und NodeJS ====== | ||
| - | |||
| - | installieren von [[docker]] | ||
| - | |||
| - | installieren von [[conda]] | ||
| - | |||
| - | '' | ||
| - | < | ||
| - | (base) intrepid-ibex@intrepid-ibex: | ||
| - | Channels: | ||
| - | - conda-forge | ||
| - | - defaults | ||
| - | Platform: linux-64 | ||
| - | Collecting package metadata (repodata.json): | ||
| - | Solving environment: | ||
| - | |||
| - | ## Package Plan ## | ||
| - | |||
| - | environment location: / | ||
| - | |||
| - | added / updated specs: | ||
| - | - nodejs=20.9.0 | ||
| - | - python=3.9 | ||
| - | |||
| - | |||
| - | The following packages will be downloaded: | ||
| - | |||
| - | package | ||
| - | ---------------------------|----------------- | ||
| - | icu-73.2 | ||
| - | libuv-1.46.0 | ||
| - | nodejs-20.9.0 | ||
| - | python-3.9.18 | ||
| - | ------------------------------------------------------------ | ||
| - | | ||
| - | |||
| - | The following NEW packages will be INSTALLED: | ||
| - | |||
| - | _libgcc_mutex | ||
| - | _openmp_mutex | ||
| - | bzip2 conda-forge/ | ||
| - | ca-certificates | ||
| - | icu conda-forge/ | ||
| - | ld_impl_linux-64 | ||
| - | libffi | ||
| - | libgcc-ng | ||
| - | libgomp | ||
| - | libnsl | ||
| - | libsqlite | ||
| - | libstdcxx-ng | ||
| - | libuuid | ||
| - | libuv conda-forge/ | ||
| - | libxcrypt | ||
| - | libzlib | ||
| - | ncurses | ||
| - | nodejs | ||
| - | openssl | ||
| - | pip conda-forge/ | ||
| - | python | ||
| - | readline | ||
| - | setuptools | ||
| - | tk | ||
| - | tzdata | ||
| - | wheel conda-forge/ | ||
| - | xz | ||
| - | zlib | ||
| - | |||
| - | |||
| - | Proceed ([y]/n)? y | ||
| - | |||
| - | |||
| - | Downloading and Extracting Packages: | ||
| - | |||
| - | Preparing transaction: | ||
| - | Verifying transaction: | ||
| - | Executing transaction: | ||
| - | # | ||
| - | # To activate this environment, | ||
| - | # | ||
| - | # $ conda activate n20p3 | ||
| - | # | ||
| - | # To deactivate an active environment, | ||
| - | # | ||
| - | # $ conda deactivate | ||
| - | </ | ||
| - | |||
| - | '' | ||
| - | |||
| - | '' | ||
| - | |||
| - | (n20p3) intrepid-ibex@intrepid-ibex: | ||
| - | v20.9.0 | ||
| - | (n20p3) intrepid-ibex@intrepid-ibex: | ||
| - | Python 3.9.18 | ||
| - | (n20p3) intrepid-ibex@intrepid-ibex: | ||
| - | 10.1.0 | ||
| - | (n20p3) intrepid-ibex@intrepid-ibex: | ||
| - | npm notice Run npm install -g npm@10.3.0 to update! | ||
| - | |||
| - | um alle Nodeversionsnummer aufzulisten \\ | ||
| - | '' | ||
| - | Loading channels: done | ||
| - | # Name | ||
| - | nodejs | ||
| - | |||
| - | Um alles wieder zu enfternen: | ||
| - | |||
| - | '' | ||
| - | |||
| - | '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| ==== todo ==== | ==== todo ==== | ||
| * codeblock Terminalausgabe aufräumen | * codeblock Terminalausgabe aufräumen | ||
| - | * Schritte dokumentieren | + | * Schritte dokumentieren |
| - | * :-/ wichtig nano package.json die Zeile am Ende einfügen < | + | * wic:-\ wichtig nano package.json die Zeile am Ende einfügen < |
| * pull und commit der Dateien in https:// | * pull und commit der Dateien in https:// | ||
| * MiniConda Installation mit davor setzen FIXME | * MiniConda Installation mit davor setzen FIXME | ||
| Zeile 872: | Zeile 753: | ||
| </ | </ | ||
| - | |||
| - | ---- | ||
| - | app.js | ||
| - | <file javascript> | ||
| - | import express from ' | ||
| - | var app = express(); | ||
| - | app.use(express.static(' | ||
| - | app.listen(2024, | ||
| - | console.log(" | ||
| - | }); | ||
| - | app.get("/", | ||
| - | res.send(' | ||
| - | }); | ||
| - | </ | ||
| - | |||
| - | package.json | ||
| - | <file json> | ||
| - | { | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | ], | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | } | ||
| - | </ | ||