Insert meteorological station data to Enhydris using the webservice api
Free software: GNU General Public License v3
https://loggertodb.readthedocs.io.
Note: You have to work on Windows 7. If you work on Windows 10, the resulting executable might not run on Windows 7. If you find a way to create the executable on Windows 10 that runs on Windows 7 (or stop supporting Windows 7), fix this README.
We've found that executables created on 64-bit Windows 7 do run on 32-bit Windows 7, however ideally the resulting executable should be tested in both environments.
The first time:
- Install
git
.- (a) Install a recent Python 3 version. (b) Install virtualenv
- Execute Git Bash.
- Clone loggertodb
- Change to the working directory of
loggertodb
.pip install virtualenv==16.1.0
(this is because of a pyinstaller bug).virtualenv ..\venv
..\venv\Scripts\pip install -e .
..\venv\Scripts\pip install pyinstaller
..\venv\Scripts\python setup.py test
..\venv\Scripts\pyinstaller --onefile --name=loggertodb bin/loggertodb-windows
Next times:
..\venv\Scripts\pip install -e .
(to upgrade dependencies if needed)..\venv\Scripts\python setup.py test
rm -r dist loggertodb.spec
..\venv\Scripts\pyinstaller --onefile --name=loggertodb bin/loggertodb-windows
After this, loggertodb.exe
should be in the dist
directory.
Using this vagrant file Windows 7 (32bit) adapted to match vagrant's requirements where:
- User is 'vagrant' (password 'vagrant')
- WinRM is activated (for
vagrant powershell
)- RDP is activated (for
vagrant rdp
)- SSH is activated (for
vagrant ssh
)- chocolately is installed for easy unattended software installations
- Windows Defender is disabled to avoid unnecessary load
- Download from here.
- Unpack "IE11 - Win7.box" in ZIP-file to project directory
- rename box to IE11-Win7.box and run
vagrant box add "file:///C:/path/to/file.box/IE11-Win7.box" --name IE11Win7
- run
vagrant up
(wait for timeout message!)- run
vagrant ssh
- choco install git