!!important security note!! Until now there is no encryption between the server and the client. It will be added in the future but until now its not safe to use the tool
Maybe you want to install the requirements in a virtual environment
mkdir env
python -m virtualenv ./env
.- On Windows:
env/Scripts/activate.bat
- On Linux:source ./env/bin/activate
- And then install the requrements by executing:
pip install -r requrements.txt
Open a Terminal in the Samba-Remote folder
Run chmod +x install_server.sh && ./install_server.sh
Open a Terminal in the Samba-Remote folder
Run chmod +x uninstall_server.sh && ./uninstall_server.sh
This will make a single executeable binary file of the client python script
- Install pyinstaller:
pip install pyinstaller
- run in the Samba-Remote directory:
pyinstaller -F -i "icon1.ico" client-gui.py
- Your executeable will be in the newly created directory
dist
You cant create an executeable for example on Windows for Linux. You need an instance of the OS, on which the executeable should run afterwards!
The file default_config.ini(./default_configs/default_config.ini
) is the default configuration for the client-cli and gui. You can specify the default Hostname/LocalDomain and port so the user doesnt has to input it - but the user can change it though. This config-file has to be in the same directory in which the executeable or python file is. If there is no config-file you have to type in the port and server by hand every time.