Commit 5d687d79 authored by thiolliere's avatar thiolliere
Browse files

README, gitignore and requirements

parent ef5cb029
__pycache__
build
venv
......@@ -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
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment