How to add default settings for your lab - t-oster/VisiCut GitHub Wiki
If your lab is not listed in Settings
-> Download Settings
, please do the following (or ask your lab provider to do so):
- Provide a settings export file at a fixed URL. The URL should not change if the file is updated, so that we don't have to change VisiCut every time.
The file can be a .vcsettings
created with "Export settings...", or simply a zip file that contains everything from the .visicut
settings folder. I suggest keeping the (unzipped) settings in a github repository like https://github.com/fau-fablab/visicut-settings and just using the "Download ZIP" link https://github.com/fau-fablab/visicut-settings/archive/master.zip
Please do not add the settings/settings.private.xml
file to the git repository, as it contains privacy-sensitive and temporary data, such as the last opened file names and last window size. It can be safely deleted any time. (Do not confuse it with the settings/settings.xml
file, which is required.) To ignore the file in git, create a .gitignore
file containing the line /settings/settings.private.xml
.
-
Check that downloading the file and using "Import settings..." on it works. (You may have to use "save as..." so that zip files are not automatically unzipped by your browser)
-
Write a bug report at https://github.com/t-oster/VisiCut/issues containing the URL and the name of your institution. If you know how to do it, a pull request similar to this one would be even better
Optionally, you can have your lab automatically selected for all PCs in your network, based on the hostname, e.g. "Germany, Erlangen, FAU FabLab" is suggested for all hosts *.fau.deD. For this, you need a properly configured FQDN hostname on your PCs (under Linux, hostname --fqdn
must output something like mypc.fablab.fau.de
, where fablab.fau.de
is your domain). Alternatively you can use your Wifi SSID. For more details, look into the LabSettings class.