GithubHelp home page GithubHelp logo

raehik / carpentriesoffline-installer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carpentriesoffline/carpentriesoffline-installer

0.0 1.0 0.0 318 KB

Tools for configuring a Raspberry Pi to serve offline carpentry lessons.

License: MIT License

Shell 36.46% R 0.48% CSS 2.00% HTML 59.15% Dockerfile 1.91%

carpentriesoffline-installer's Introduction

fair-software.eu

General Carpentries Offline Documentation

Overview of the project: https://github.com/carpentriesoffline/CarpentriesOffline.github.io/tree/main/docs

This repository contains scripts to intialise a Raspberry Pi with the Carpentries Offline software.

Initial Setup of the Raspberry Pi

You will need:

  • A Raspberry Pi with an internet connection
  • An installation of Raspberry Pi OS Lite
  • 2.5GB of more free on the SD card

Setting up a Raspberry Pi with an operating system:

Setup for headless config (useful if you don't have a screen and keyboard to hand)

  • In the boot (small FAT32) partition on the SD card create an empty file called "ssh"
  • If you're using WiFi to get access to the Pi, create a file called wpa_supplicant.conf in the boot partition. Paste in the following and set your network SSID and password appropriately.
#set this to your country code, gb=great britain
country=gb
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
 scan_ssid=1
 ssid="my_networks_ssid"
 psk="my_networks_password"
}

Run the install script

Change the password

  • Run the passwd command. Leaving the default password will mean anybody in your workshop can login to your Pi and change settings on it.

Connect to Carpentries Offline

  • After installing the Raspberry Pi will reboot.
  • It will then switch the WiFi interface to access point mode and will be available as a network called carpentries-offline.
  • Connect to the carpenpi WiFi network
  • Visting http://carpentries-offline.org or http://192.168.1.1
  • You should get links to the Carpentries Lessons and the Gitea server on the Raspberry Pi

Using pre-built images

There are pre-built images available from the releases section of this page. These are experimental and unlikely to be fully working yet. These are built as multipart zip files with names like release.zip and release.z01, this is due to a 2GB upload limit in our build process. Download each of these. To extract them on a Linux system run the following:

cat release.z01 release.zip > carpentries-offline.zip

unzip carpentries-offline.zip

After you have downloaded and unzipped the image files, write the image file to an SD card with Etcher or your image writing program of choice.

Development Status

Carpentries offline is still under development and is not yet ready for general use. Here is the general state of each component:

(last updated 2022-08-11)

Component Status
Access Point Works, possible performance issues
Course Notes Working
MiniCRAN repository Needs Testing
Pip Repository Needs Testing
R/R studio downloads Working
Python downloads Working
Workshop Surveys Still to do
Etherpad Work in progress
Jupyter Lab Work in progress
Auto build image via qemu Work in progress
Dockerfile for cloud deployment Working, needs documenting

carpentriesoffline-installer's People

Contributors

abhidg avatar colinsauze avatar jamiejquinn avatar jsteyn avatar mikerenfro avatar vandit-bera avatar

Watchers

 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.