Please use our new uploader https://github.com/phac-nml/irida-uploader
Download the installer from https://github.com/phac-nml/irida-miseq-uploader/releases
Install pip and wxpython:
$ sudo apt-get install python-pip python-wxgtk3.0
Install virtualenv and setuptools
$ pip install virtualenv
$ pip install setuptools
If you already have these packages installed, ensure they are up to date
$ pip install virtualenv -U
$ pip install setuptools -U
Build a virtualenv and install the dependencies:
$ git clone https://github.com/phac-nml/irida-miseq-uploader
$ cd irida-miseq-uploader
$ make requirements
$ source .virtualenv/bin/activate
You can then run the uploader by running:
$ ./run_IRIDA_Uploader.py
Deactivate when finished:
$ deactivate
You must install several packages to build the Windows installer:
sudo apt-get install innoextract nsis python-pip python-virtualenv
From inside the irida-miseq-uploader
directory, you can simply run:
make windows
This will build a Windows installer inside the build/nsis/
directory, named something like IRIDA_Uploader_1.0.0.exe
.
You can run all tests (unit and integration) by running:
$ echo "grant all privileges on irida_uploader_test.* to 'test'@'localhost' identified by 'test';" | mysql -u mysql_user -p
$ make test
You can verify PEP8 conformity by running:
$ ./scripts/verifyPEP8.sh
Note: No output is produced (other than pip
-related output) if the PEP8 verification succeeds.