#644 Create a page for the new Python Classroom Lab
Closed: Fixed 6 years ago Opened 7 years ago by churchyard.

See https://fedoraproject.org/wiki/Changes/PythonClassroomLab

Graphics requested at https://pagure.io/design/issue/507

Will post a couple of Full HD screenshots form Alpha_1.7 soon (still downloading the image).

9 apps to mention:

  • IPython (python3-ipython package)
  • Jupyter Notebook (python3-notebook package) (not yet there for alpha)
  • Python 3.6 (python3 package)
  • Python 2.7 (python2 package)
  • PyPy 3.3 (pypy3 package)
  • tox (python3-tox package)
  • virtualenv (python3-virtualenv package)
  • NINJA IDE (ninja-ide package)
  • Python 3 IDLE (python3-tools package)

Shall I provide logos, and some descriptions?

Description:

One of the benefits of Fedora for Python developers is the ease of setting up Python development. The Fedora Python Classroom Lab makes it even easier for teachers and instructors to use Fedora in their classrooms or workshops. Ready to use operating system with important stuff pre-installed - either with GNOME or as a headless environment for Docker or Vagrant. Teach Python on Fedora, with Fedora, using the stuff you love: IPython, Jupyter Notebook, multiple Pythons, virtualenvs, tox, git and more...

The Fedora Python Classroom Lab comes in 3 variants. Either you can run it in graphical mode with GNOME, or you can virtualize it with Vagrant or run it in a Docker container. You choose what fits your teaching environment the best.

EOF

The download option should point to the GNOME based lab in iso download dir. But ti shoudl also list the docker/vagrant commands to install. For Docker that shall be:

sudo docker run -ti registry.fedoraproject.org/f26/python-classroom

For Vagrant, I honestly don't know. The images for libvirt and virtualbox are available in the images dir. And than you can do what's described in https://fedoraproject.org/wiki/Changes/PythonClassroomLab#Vagrant

For the links down, we can put #fedora-python IRC, python-devel mailing list and https://developer.fedoraproject.org/tech/languages/python/python-installation.html as knowledge base.


Thank you! Do you have a slogan for your spins you want to have on the website? Look at the other ones at https://labs.stg.fedoraproject.org/prerelease.html

BTW the link on the linked page for this lab leads to robotics lab.

Note that this should also be available for ARM and thus probably should be listed on https://arm.fedoraproject.org/

There are no ARM images for Labs, at least not for 26 Alpha.

@robyduck how does the app description for the 9 mentioned apps work? Is it pulled automatically form appdata or can we write it for the webpage? Most of the tools are non GUI here, that's why i'm asking.

@churchyard we don't pull anything. You can provide the text and images (would be awesome). Even if they are CLI apps, they should have a logo to show.

Cool. i'll provide something.

@robyduck are you working on this one, or can i grab it?

Metadata Update from @robyduck:
- Issue assigned to ryanlerch

7 years ago

I have notes rady for the content based on our planning with @lbalhar, but unfortunately I was not able to create the actual text yet. I plan to work on it first thing in May, because i won't have time until then.

That's perfect, first 10 days in May are fine. If you write the text it's very easy for us (thanks), and translators will have enough time to do their work too.

PS: please let us know also for the planned ARM images. TY.

Just finished the base implementation for the GA page, you can check it out at this branch:

https://pagure.io/fedora-websites/tree/WIP/python-classroom-lab

The download page will probably need some more content to instruct how to use the Vagrant and Docker versions (as well as adding links to them)

Oh. Thanks. I'll look at the commits.

I've sent Pull Request number #666 ;)

Ok, now what is the best approach for the download thing?

If you want to paste the content you want here, i can add it and format it.

Metadata Update from @ryanlerch:
- Issue tagged with: labs.fp.o

6 years ago

The Python Classroom labs comes in 3 variants. A Live Image with GNOME, that can be downloaded on the top of this page, a Docker image and a Vagrant box for headless environments. Learn more about Docker and Vagrant in their documentation.

Getting and running the Docker image

sudo docker pull registry.fedoraproject.org/f{{releasever}}/python-classroom
sudo docker run -ti registry.fedoraproject.org/f{{releasever}}/python-classroom

Running the Vagrant box

First, download the box from the right side of this page.

For libvirt:

vagrant box add fedora/{{releasever}}-python-classroom ./{{libvirt_box.filename}}
vagrant init fedora/{{releasever}}-python-classroom
vagrant up --provider libvirt
vagrant ssh

For VirtualBox:

vagrant box add fedora/{{releasever}}-python-classroom ./{{virtualbox_box.filename}}
vagrant init fedora/{{releasever}}-python-classroom
vagrant up --provider virtualbox
vagrant ssh

Notes

The text contains several dynamic variables in {{ Jinja2 syntax }}, those have to be converted to what is actually used on the website.

The right column that says Other Downloads should have:

  • 32-bit xyzGB Live image
  • ARM raw image
  • 64-bit Vagrant libvirt box
  • 32-bit Vagrant libvirt box
  • 64-bit Vagrant VirtualBox box
  • 32-bit Vagrant VirtualBox box

Feel free to reword anything that feels necessary.

The Docker line does not work yet before the release, but hopefully should after.

Anything more I need to provide?

@churchyard are there any IRC support channels, docs or MLs we can link to?

We also need to know what you mean with {{virtualbox_box.filename}} and if the docker command lind will work next tuesday or not. We cannot rely on "I hope it will work".
Thank you.

#fedora-python
python-devel@
https://developer.fedoraproject.org/tech/languages/python/python-installation.html

virtual_box.filename is currently Fedora-Python-Classroom-Vagrant-26-20170704.n.0.x86_64.vagrant-virtualbox.box - I don't know how it will look once final 26 is released. I suppose that would be Fedora-Python-Classroom-Vagrant-26-1.0.x86_64.vagrant-virtualbox.box

I don't know if the docker image will be at registry.fedoraproject.org and if that command will work. Currently, it only works with candidate-registry.fedoraproject.org. Someone from the Cloud SIG might know this. @maxamillion maybe?

Great, thanks for the fast reply, very appreciated.

I am sorry to make a little off-topic (I had been hesitating whether I should have had rather create a new issue, but I considered this still as a "work in progress"). I thing there is a small typo in the Python Classrom text.

Please, see line 30 of index.html.

The Python Classroom lab is shipped as a live operating system. It's everything you need to try out Fedora's Robotics Suite - you don't have to erase anything...

I assume there should be Python Clasroom instead of Robotics Suite.

I am sorry to make a little off-topic (I had been hesitating whether I should have had rather create a new issue, but I considered this still as a "work in progress"). I thing there is a small typo in the Python Classrom text.
Please, see line 30 of index.html.

The Python Classroom lab is shipped as a live operating system. It's everything you need to try out Fedora's Robotics Suite - you don't have to erase anything...

I assume there should be Python Clasroom instead of Robotics Suite.

I fixed it, but there are still many other things which refer to Robotics, because we still have to work on the download page. Thanks for letting us know ;)

@churchyard I'm wondering if we should really have 32 bit vagrant images on the website. We are building them, that's true, but as for some other images we don't promote them anymore. IMO promoting a 32 bit vagrant image is counterproductive.

OK, fine. Can you take a look at staging pages and tell us if we are still missing something (we will add images only after GO/NO-GO).
Alos, the big download button on the bottom has a wrong link, that's known. The one on top is correct.
https://labs.stg.fedoraproject.org/en/python-classroom/

Thanks.

Also, when do i redo the screenshots? Has the final desktop background image landed in already?

I have merged the PR, thanks :)
We don't have screenshots for labs, only for spins, although Ryan added some in the index. For other labs we don't have them, that's why I'm thinking to drop them for now and eventually add a section for all labs, if this is desired.

Note: final wallpaper is out, just FYI.

TBH, i think it is not a big deal if one lab has screenshots, and another does not.

It really helps to add some context as to how this lab is used IMHO.

Note that the registry.fedoraproject.org link still doesn't work.

@churchyard can you help me with the correct link? Still candidate-registry?

Yes. sudo docker pull candidate-registry.fedoraproject.org/f26/python-classroom etc.

Let's put it there and I'll try to figure out why it has never been moved to the "regular" registry.

Ok, done, thanks. Will show up in about 45 minutes from now.

Ad screenshots: Apparently the new background is not pulled in (which is sad but not critical), so the screenshot are up to date with final release.

Python-classroom is now a thing, released today. For any issue please open a specific ticket.

Metadata Update from @robyduck:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata
Attachments 4
Attached 7 years ago View Comment
Attached 7 years ago View Comment
Attached 7 years ago View Comment
Attached 7 years ago View Comment