Currently the key components are in the python code.
First get python from the Python website, or from your Linux distribution using your package manager.
Make sure that you have:
- Tkinter
- pip
- set environmental variables
set during installation. The latest is just to play in the console 8).
you can run the installer, then in a command terminal (win-button+R type cmd or powershell, then ENTER), run
pip install pyyaml
pip install requests
- pyyaml to handle yaml text files we use as templates and documents
- requests is a high level HTTP(S) protocol handler used for upload
An executable is generated packing together the python interpreted and libraries with the source code, using pyinstaller.
The code is super simple, run in the python folder as:
pyinstaller -F ./rdm_project.pyThe resulted exe file requires that the icons folder is in the same subfolder, and the templates are one folder up. In the zip file this is all packed up in a simple folder tree, so one can extract and use the resulted program as is.
python is most probably installed by your system, just make sure you also have the above packages installed (with pip if needed).
simply in the main repository, get the code as a zip file, and unpack it somewhere you can always find it. In the python folder, start the RDMr_project.py file, and it should work out of the box.
That is, in a terminal you can:
cd To_your_folder
cd python
python ./RDM_project.pyor just convert it to a bash starter script.
this is completely experimental, and in a very early stage, most components missing.
- fltk
- libyaml
- libjson (future)
and a C++ compiler for all this...
After the first start, the program creates a Projects folder and a default configuration file for the user. On windows this is in: c:/Users/%(current user)/AppData/Local/rdm_project on others in: /home/${User}/.config/rdm_desktop and within the config.yaml file.
Why is this interesting? If the program could not create the Projects folder, you may want to tune the projectDir entry to a folder that you can write and use for this purpose. You also may want to correct your user name in the userID field.
Further information about configuration you can find here