Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ideascube
ARCHIVED Kiwix Hotspot
Commits
5d687d79
Commit
5d687d79
authored
Apr 07, 2017
by
thiolliere
Browse files
README, gitignore and requirements
parent
ef5cb029
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
5d687d79
__pycache__
build
venv
README.md
View file @
5d687d79
...
...
@@ -8,19 +8,27 @@ tested on linux
dependencies:
*
distribution packages:
*
gcc-arm-linux-gnueabihf
*
qemu
*
python3
*
gcc-arm-linux-gnueabihf
*
qemu
*
python3
*
python packages:
*
wget
*
zipfile
*
paramiko
make python virtual environment:
`python3 -m venv venv`
run:
active virtual environment:
`source venv/bin/activate`
`python3 src/main.py --help`
install pip dependencies:
`python install -r requirements.txt`
show help:
`python src/main.py -h`
build catalog:
`python src/main.py -c`
build your image with for example
*
an image of 5GiB with wikiquote.en:
`python src/main.py -z wikiquote.en -r 5`
*
an image of 5GiB with wikiquote.en written to the sd card:
`python src/main.py -z wikiquote.en -r 5 -s dev/sdX`
warning: you need write priviledge for the device
## Principle
...
...
@@ -34,3 +42,4 @@ Inside the emulator it builds ideascube with ansiblecube.
*
download raspbian-lite
*
resize the image
*
run ansible-pull
*
write image to the device
requirements.txt
0 → 100644
View file @
5d687d79
asn1crypto
==0.22.0
cffi
==1.10.0
cryptography
==1.8.1
idna
==2.5
packaging
==16.8
paramiko
==2.1.2
pyasn1
==0.2.3
pycparser
==2.17
pyparsing
==2.2.0
six
==1.10.0
wget
==3.2
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment