Skip to content

Instantly share code, notes, and snippets.

@vinyll
Last active October 14, 2016 16:42
Show Gist options
  • Save vinyll/ccf118b51df54f8cc0d936d7e6acfc18 to your computer and use it in GitHub Desktop.
Save vinyll/ccf118b51df54f8cc0d936d7e6acfc18 to your computer and use it in GitHub Desktop.
Zaatari IDeasbox training

General knowledge

The computers are set, one sample computer is connected to the projector for presenting to all.

Presenting the box (~10 min)

Presenting the Ideasbox on a slideshow (the Ideasbox not being here yet). How it opens, what the modules are.

Presenting the server

Hardware

The server is a small internet. It is a wireless hotspot. Any device (computer, tablets, remote screen, phones) can connect.

Software

Show EN/AR/… selection

Show an example of cards:

  • The medias center: sounds, videos, pictures; your contents
  • The blog: your space for communicating, events, talk about activity
  • The library: browsing books. Empty, we'll see how to add books
  • Khan Academy: training about many topics (EN)
  • Maps (Syria, Jordan). Need more? Just ask
  • TED: conference for various topics. Learn by watching
  • Wiki*: wikimedia (wikipedia like), Wikiquotes (also in arabic), Wikiversity (courses)
  • the users: fill in questions for registering a user. Give them a card, they access the box with the card.- Entries: Registering with barcode
  • loans: scan for loaning and return
  • start/stop: Very important. Must switch off every evening!
  • WiFi: Can connect the the outside internet
  • server name: change it any time to whatever you want
  • home page: all the cards you see on the home page. Good for promoting some cards on certain times
  • languages: choose your languages. Keep what is required or asked

View logged / anonymous user difference. Only admins use yellow cards.

Manage users

One of us create one's account. That new account now takes the computer and create the account of his colleague, and so on. Only the serial is required for an admin user. Check the list, not admin shield. See the add staff status / remove staff status Create a dummy password for 1st user. He will come and change it.

!! Do not ever share your account password !!

What is a good password?

Random strings are not good. You don't remember so you forget. A good password is a passphrase.

Everytime you leave a computer, logout! When logging in, see the eye icon. It shows the password for a second.

Login / logout

Why to login? Only to do administration tasks, like managing users. You don't login for consulting contents.

Create a full beneficiary user.

The Blog

Make sure to be in the right language when typing password. Windows+Space switches the keyboard. You can view in the top bar the status of the keyboard.

We need to be logged to edit content.

Fill the left column with minimal values (published). Add some body content. Save. See it in the list. You can edit it.

  1. Make a link: open a new tab, browse Wikipedia, copy link, go back to the other tab, select, paste
  2. Insert a video from the Media Center

The library

The library registers all the existing paper and digital books in the system. We stick a unique barcode for each book (2 of the same ISBN will therefore have a different barcode) and save them as specimens. A digital version of a book is also a specimen (with no barcode of course). Thanks to the library you can view or search a book.

A specimen will be automatically registered in the stocks.

The media center

Filtering content are additive. Add a filter to narrow your search. Searching by keyword narrows the filter more. Ordering works on date or alphabetical title. You can therefore add and remove filters.

We can edit a media content like we edited a blog.

Optimizing a picture

6MB for a picture is too large. We will use Krita (or any other app) to resize. Right-click on a pic > open with > Krita. Image > scale image to new size. Image should be ~1000px width.

Ubuntu

Open source

Open source vs proprietary. FOSS (Free and Open Source Software). List software you know. Which is what? Open source means able to control and check how it works, who controls the data.

Desktop concepts

3 concepts:

  • the dock (all apps we can access)
  • the dashboard (searching for anything – docs, apps, video, images, …)
  • the top bar (shut down, battery, sound, wifi, keyboard language)

System settings

No need to use it, but it might be useful for advanced usage. Repeating the process of scanning pictures

Feedbacks

Learning Ubuntu first would be more appropriate Practice is good. Changing the titles was helpful.


Revisions

Stock management

Purpose: Registering every item to see we didn't miss, lose or break something. 4 modules. We need barcodes stickers (each is unique) and barcode scanners.

Add a stock item, then specimen for each unit of it. Stick a barcode on each. Scan the barcode (or type it), fill the form. Quantity is always 1.

If the specimen cannot fit a sticker (like a HDMI cable), we use quantity instead.


TODO Sunday

ask Alaa what to remove from users.


next

  • managing stocks
  • loaning
  • How to use the TV, plug computer, usb key, full screen,…
  • about electricity: battery never empty, plug the tv, always switch off server

Good to know

Ubuntu

Mirroring a screen: Fn+F8 Change keyboard language: Windows+Space

Ideascube

It attempts to upgrade automatically on each restart. Python files are in ~ /var/python/… To restart the uWSGI (updated changed python files): sudo systemctl restart uwsgi


Mounting the boxes

Tilt the box and mount the wheel. the yellow box has 5 wheels that are smaller.

When transporting the boxes the wheels must be removed.


bugs day 2

√ specimen page: add a specimen does not focus on first field

when editing a media, going back on the list loses all the filters and ordering.

Gather same contents in the media center. Olive et Tom all together for example.

media center summary should be optional

soft delete a media?

auto resize a picture ?

logout in arabic. Login again is in English.

Inventory default day should be today

"Ideascube barcode" written in stock item form

Notes

Ideascube name should never be used. It's an internal project name. It is the Ideasbox's server.

Icons on the rights are close to each other (clicking on the wrong action is too easy). Removing someone from the admin should require a confirmation (with password confirmation?)

Zaatari will be connected to internet. Need to lock some sites.

Content issues

Make the specific activity appear in the bottom table

Zaatari1 has issues login in computer. Too long to boot

m2m with checkboxes instead of multiple options?

Download button plays the mp4 video fullscreen instead of downloading

Remove amazon from the softwares

Translate the date picker. Months translations are wrong

Blog

Shouldn't the author be selected automatically? Publication date: today by default editing one's draft, can you access it? oEmbed Kiwix a tag may be empty

Media center

titles are centered. titles are the name of the file instead of the meta title

Arabic issues

Missing translations:

  • Log out from {user}
  • Serial
  • Has been informed by other organization
  • Latin written name
  • Marital situation
  • Number of children under 12
  • Lives with family…
  • Recreational
  • psycosocial (with the typo!)
  • Occupation in the place of origin
  • Higher education
  • Specific activity (optional)
  • Partner (optional)
  • Partner involved in activity
  • Since
  • serial # In monitoring/entry
  • When
  • Member
  • Module
  • LIBRARY
  • CINEMA
  • library - home - random -- [search]
  • Last modification - filter - order by - …

The date picker content is not translated

A profile details page shows the table rtl or ltr sometimes.

Preparation

  • Setup the wifi (name)
  • Test the ideascube interface / accounts

Connect to the ideasbox

scan ips: sudo arp-scan --interface=en0 --localnet

Setup the wifi

systemctl status hostapd systemctl start hostapd systemctl enable hostapd

vim /etc/hostapd/hostapd.conf default name of the wifi: idb-jor-zaatari-52 change it to: ideasbox-zaatari the password is in the file too (idb258456)

Connecting on the IdeasBox

http://ideasbox.lan

Create an account

Homepage should be the user account management. If not try dummy account admin/admin. Create a real admin account from the homepage. Yellow blocks are admin only. The 1st one is users administration. vincent ideascube, is a way to get in.

!Important! !!!Stop the server on evenings!!!

interact with Python

ideascube shell

ideascube migrate

ideascube import_medias --dry-run my_csvfile.csv

ideascube catalog list ideascube catalog reinstall <packagename>

Importing medias

medias are in from ideascube.mediacenter.models import Document

Tips

Screen

screen -S my-screen-name ctl+a d to quit without stoping screen -dr my-screen-name to restore the screen

Installing computers

Setup

name: ideasbox (normalized) computer name: zaatari1 (upon your poetry)

Desktop

set the background image to the one from Ideascube.

Lock computer with password must be off. Screen sleep should be active though for power saving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment