Coder Social home page Coder Social logo

pyladies-pilsen / naucse.python.cz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyvec/naucse.python.cz

0.0 2.0 0.0 146.28 MB

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

Home Page: https://naucse.python.cz

License: Other

Python 1.80% Shell 0.57% Jupyter Notebook 96.27% CSS 0.18% HTML 1.18%

naucse.python.cz's Introduction

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

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.

naucse.python.cz's People

Contributors

encukou avatar hroncok avatar krejdom avatar frenzymadness avatar mikicz avatar sanqui avatar tomasroj avatar glutexo avatar zuzejk avatar vahalova avatar mareksuchanek avatar messa avatar asgeirrr avatar torsava avatar honzajavorek avatar vasekch avatar zitkat avatar zoellenka avatar lspdv avatar aprillion avatar rusinsky-pavel avatar ivcajelinkova avatar janpipek avatar brabemi avatar mordae avatar vojtechruz avatar jas02 avatar stlk avatar kobzol avatar fivaldi avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.