GenomeHubs
Search…
8. Start download site
GenomeHubs provides an h5ai container to host files for download. Any files in directories mounted in the container under /var/www/html will be available for download so additional files can be hosted alongside the files generated in previous steps.

Edit files in conf directory

Edit Masthead.html to change the site name, logos and link urls:
  • add images to the ~/genomehubs/v1/download/conf/img directory if you wish to include them on your site
  • further changes to the appearance can be made by editing the styles in custom.css
1
$ cd ~/genomehubs/v1/download/conf
2
$ nano Masthead.html
3
# replace references to example.com with your domain name
Copied!
Edit _h5ai.headers.html to change the message that will be printed at the top of all directory listings:
1
$ nano _h5ai.headers.html
2
# replace with your own message
Copied!

Start h5ai downloads container

Start the h5ai Docker container:
1
$ docker run -d \
2
--name genomehubs-download \
3
-v ~/genomehubs/v1/download/conf:/conf:ro \
4
-v ~/genomehubs/v1/download/data:/var/www/html/v1:ro \
5
-p 8882:8080 \
6
genomehubs/h5ai:19.05
Copied!
Last modified 1yr ago