creator.py
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| creator.py [2020/12/31 20:01] – reno | creator.py [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Creator Script ====== | ||
| - | The creator script must be launch via python3 <code bash | Terminal> | ||
| - | |||
| - | < | ||
| - | Data trasnfer script creator. | ||
| - | Version 1.3.1 | ||
| - | Written by Reno Sit\\ | ||
| - | Computer IP is: xxx.xxx.xxx.xxx | ||
| - | Please select ' | ||
| - | Select from one of the following options | ||
| - | 1. Enter brewer info | ||
| - | 2. Create rsync script | ||
| - | 3. Set new usb name for the brewers | ||
| - | 4. Setup dosbox config (Must have program folder moved) | ||
| - | 5. Setup auto start script. | ||
| - | 6. Setup smb | ||
| - | 7. Shortcuts creator | ||
| - | 8. Other Instructions | ||
| - | 9. Quit | ||
| - | </ | ||
| - | <hidden ===== 1. Enter brewer info =====> | ||
| - | < | ||
| - | Number of brewers? (1-4): | ||
| - | </ | ||
| - | In this option you enter in what brewer will be in use on this computer. | ||
| - | Enter in the # of brewer on this computer, then enter the 3 digit serial number being used. | ||
| - | </ | ||
| - | |||
| - | <hidden ===== 2. Create rsync script =====> | ||
| - | **Requirement** | ||
| - | * Complete option 1 | ||
| - | |||
| - | Upon entering this option, it'll bring you back to the main menu as if nothing has happened. This is normal. Two files will be re-created/ | ||
| - | </ | ||
| - | <hidden ===== 3. Set new usb name for the brewers =====> | ||
| - | **Requirement** | ||
| - | * Run the python script with sudo | ||
| - | |||
| - | < | ||
| - | To create a usb name you will need the following information | ||
| - | 1. usb name (ie: / | ||
| - | 2. Name you want for your device (Gear0) | ||
| - | 3. This script must of been run with sudo, otherwise this will not work | ||
| - | |||
| - | Please pick the usb attached from the following list | ||
| - | ... | ||
| - | Enter the USB to use (Enter just the USB #): | ||
| - | |||
| - | </ | ||
| - | In this option, you are able to rename an USB port from a randomly assigned name (I.E. ttyUSB0) to a static name (I.E. com6). Best practice follows. **Note**: you must launch this script with sudo as it it is required for accessing and modifying the udev files. | ||
| - | - Ensure no device is connected. | ||
| - | - Restart the computer | ||
| - | - Plug the first USB com port into the computer. | ||
| - | - Enter the this option and you'll be prompted with a list of USB connected, < | ||
| - | - Enter in 0, then confirm the usb device (y) | ||
| - | - Enter the name you would like to rename it to. | ||
| - | - You'll be returned back to the main menu. Repeat step 3-7 | ||
| - | </ | ||
| - | <hidden ===== 4. Setup dosbox config =====> | ||
| - | **Requirements** | ||
| - | * Completed option 1 | ||
| - | * Have moved the corresponding brewer folder into /// | ||
| - | < | ||
| - | Please make sure you have moved the Brewer instrument files into the correct location (/ | ||
| - | Please enter the USB name that is being used for Br#xxx: | ||
| - | </ | ||
| - | This option will automatically rewrite the current dosbox config (I.E. BrewCom1-### | ||
| - | |||
creator.py.1609444918.txt.gz · Last modified: by reno
