-
Notifications
You must be signed in to change notification settings - Fork 123
Create offline version for use in prisons and other offline environments #550
Comments
Thanks for filing this issue, it's a really exciting effort to work on! A few follow-up questions:
Is there a copy of the material already being delivered? It'd be great to converge them where possible! Adding to the future topics for discussion, also:
|
Thank you for your feedback and questions.
The current material is mostly on a Moodle setup with some bookwork to supplement. It relies on a mixture of Moodle-based activities and assessments and videos. The details of these can be discussed in a more detailed discussion session. Locally we server GitLab for our Git repositories, so that users can use Git. We also have a webserver setup which can have reseller-style packages set up on it so the students can use DNS, Mail and FTP etc. We also have StackOverflow running on a Kiwix server. We also serve W3Schools and FreeCodeCamp across the network, both of which are offline versions. It is totally viable for future discussions to be over video or phone, though in-person is more difficult without you coming here (which can be arranged). |
Not sure if this is useful but Docusaurus (the tool that this website is built with) has PWA/Offline Caching built in https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-pwa#offline-mode-precaching |
Yes, as this is precaching rather than just caching, this can prove useful. We will still need to make sure we have the other external resources/facilities and these will need to be referenced/linked in the main offline web app. |
Neil and I met on 2/2/2023 and here is what we did/concluded: It would be good to know who has ownership of various action points from the above Jamboard so we can chase them up
Neil was wondering how the PD syllabus happens in practice (I gave my best understanding which is that ideally it would be well integrated with the tech syllabus so that it's clear to trainees that PD skills are highly valued and relevant. In practice, they are given a little bit independently, but giving them on the same day is helping draw bridges and connections. In the future, we hope to make the links stronger and more obvious to trainees ? and improve agile skills/understanding?) Neil has considered the problem of local deployment/replacing our use of heroku/netlify. Currently they do it with ftp/filezilla to a server (and because some of their trainees are learning over multiple years, they have opportunity to learn a lot more about ops type stuff than our trainees). IMO that is a fine way of doing the deployment. It miiiight be nice to have some kind of autodeploy from gitlab for final projects, but the only real requirement from my perspective is the opportunity to see how a dev and prod environment might glue together differently We did a bit of work on making CYF Blocks available offline. It looks like it needs a server of some kind to serve the .md files. For now we created https://github.com/CodeYourFuture/fundamentals-blockly/tree/blockly-offline which pulls in blockly and zero-md from node_modules instead of cdn/unpkg. Neil will try checking it out and deploying on their apache server.
Maybe some kind of build script into a dist folder would be a better thing than reading directly from node_module? |
Updates from me:
|
Update on CYF Blocks offline: Installed Greg's update on the Apache server but did not work. It was still trying to get various resources from the web. I had to get zero-md onto a local machine and then recreate the node_modules folder with missing modules. this was uploaded to the server giving 13 errors of missing resources. It appears that the zero-md module was missing some of the requested files, which they load from a cdn and this is built into the code. Further to this, we could now attach this to a PWS module and it should be able to run on a local machine without internet ref: CodeYourFuture/fundamentals-blockly#56 |
Oh god, what a yak-shaving expedition. I'm glad you resolved it in the end! |
https://github.com/CodeYourFuture/CYF-Sandbox/tree/ITD for Codepen replacement |
Which module(s) and week(s) does this change affect?
Module(s): All
Week(s): All
What is the work that needs to be done?
How far the course takes students and how we assess learning will need further discussion.
Why is this work important to do?
This opens the CYF to serving prisoners giving them a start on their tech career and helping to reduce the risk of reoffending.
Additional context
Who might need to know about this change?
The text was updated successfully, but these errors were encountered: