DWLOAD server implemented in Python
Project description
DwLoadServer
DWLOAD server implemented in Python (OpenSource, GPL v3 or above).
It’s in unuseable, experimental state and currently nothing more then some tests scripts.
current state
Currently the server can only send files to the DWLOAD client.
installation
The is a virtualenv bootstrap file, created with bootstrap_env, for easy installation.
Get the bootstrap file:
/home/FooBar$ wget https://raw.githubusercontent.com/DWLOAD/DwLoadServer/master/boot_dwload_server.py
There are tree types of installation:
option |
desciption |
---|---|
pypi |
use Python Package Index (for all normal user!) |
git_readonly |
use git to get the sourcecode (for developer without write access) |
dev |
use git with write access |
e.g.:
/home/FooBar$ python3 boot_dwload_server.py ~/dwload_server_env --install_type pypi
This creates a virtualenv in ``~/dwload_server_env`` and used the packages from the Python Package Index.
startup
Setup server root directory. This is the directory for the files that are interchange with the client.
/home/FooBar$ cd ~/dwload_server_env/ /home/FooBar/dwload_server_env$ mkdir root
You have to put the DWEEB files into the root dir. e.g. dwload-demo-files from: https://github.com/DWLOAD/DWLOAD
To start the server:
/home/FooBar$ cd ~/dwload_server_env/ /home/FooBar/dwload_server_env$ ./bin/python -m dwload_server.dwload_server --port /dev/ttyUSB0 --root_dir ./root
Display CLI help:
/home/FooBar/dwload_server_env$ ./bin/python -m dwload_server.dwload_server --help
TODO
compare checksum
maybe use a config.ini file?!?
History
12.11.2014 - send a file works rudimentary
30.09.2014 - Idea was born: Forum post 11893
Links
Forum Thread: http://archive.worldofdragon.org/phpBB3/viewtopic.php?f=8&t=4946
About DWLOAD: http://archive.worldofdragon.org/phpBB3/viewtopic.php?f=5&t=4964
DWEEBS application Thread: http://archive.worldofdragon.org/phpBB3/viewtopic.php?f=5&t=4968
Dragon 32/64 DriveWire Adapter: http://archive.worldofdragon.org/index.php?title=Dragon_32/64_Drivewire_Adapter
Drivewire for dummies: http://archive.worldofdragon.org/index.php?title=Drivewire_for_dummies
http://sourceforge.net/p/drivewireserver/wiki/DriveWire_Specification/
Repository on github: https://github.com/DWLOAD/DwLoadServer
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dwload_server-0.1.0.tar.gz
.
File metadata
- Download URL: dwload_server-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3122a021949c935c6fbd244c133dbcdf1a1e1b0f15546e09e9850c70cf14eb15 |
|
MD5 | 384e01ba6057d5cb0ea3ddb1880ca97b |
|
BLAKE2b-256 | 47d5bd20ae921ffe0bd8d88512fc0663f77af84536dce7f7031312cd1b85011b |