GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pyvec/naucse.python.cz: Website with learning materials / Stránka s učebními materiály

BranchesTags
Open more actions menu

Latest commit

 

History

1,654 Commits
1,654 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
licenses
licenses
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.pyup.yml
.pyup.yml
 
 
LICENSE.MIT
LICENSE.MIT
 
 
README.md
README.md
 
 
courses.yml
courses.yml
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Nauč se Python

Otevřené materiály pro výuku Pythonu – jak na organizovaných kurzech, tak pro samouky.

Dostupné na naucse.python.cz.

Instalace a spuštění

Chceš-li server spustit na svém počítači, např. proto, že se chceš zapojit do vývoje, je potřeba ho nejdřív nainstalovat:

  • Přepni se do adresáře s kódem projektu.

  • Nainstaluj poetry. Můžeš instalovat podle oficiálního návodu, nebo:

    • Vytvoř a aktivuj si virtuální prostředí v Pythonu 3.9+.

    • Linux/MacOS:

      $ python3 -m pip install poetry
    • Windows:

      > py -3 -m pip install poetry
      
  • Vytvoř si prostředí a nainstaluj závislosti:

    $ poetry install --no-root

Nainstalovanou aplikaci spustíš následovně:

  • Aktivuj si virtuální prostředí, máš-li ho vytvořené.
  • Spusť vývojový server:
    $ poetry run python -m naucse serve
  • Program vypíše adresu (např. http://127.0.0.1:8003/); tu navštiv v prohlížeči.

Pokud chceš místo vývojového spuštění vygenerovat statické HTML soubory (např. pro nahrání na statický hosting):

  • Spusť freeze. Parametr --serve provede spuštění webserveru, pomocí kterého si lze vygenerované soubory prohlédnout:
    $ poetry run python -m naucse freeze --path=_build
  • HTML stránky jsou v adresáři _build. Program vypíše adresu (např. http://0.0.0.0:8000/); tu navštiv v prohlížeči.

Licence

Kód je k dispozici pod licencí MIT, viz soubor LICENSE.MIT.

Obsah kurzů má vlastní licenci, která je uvedena v metadatech. Používáme pouze licence pro otevřený obsah. Všechen obsah musí mít uvedenou licenci.


The code is licensed under the terms of the MIT license, see LICENSE.MIT file for full text. By contributing code to this repository, you agree to have it licensed under the same license.

Content has its own license specified in the appropriate matadata. Only free content licenses are used. By contributing to an already licensed document, you agree to have it licensed under the same license. (And feel free to add yourself to the authors list in its metadata.) When contributing new document(s) a license must be specified in the metadata.

About

Website with learning materials / Stránka s učebními materiály

naucse.python.cz

Topics

hacktoberfestlearningnaucsepython

Resources

Readme
License
Activity
Custom properties

Stars

336 stars

Watchers

21 watching

Forks

119 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.