Commit 3e9ef7fb authored by bourgesl's avatar bourgesl
Browse files

added setup instructions for data-doi hosting

parent c44209d5
# This is the base directory of the OSUG-DOI project
# to build project, just run:
mvn clean install -DskipTests
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
The data can be accessed from the link on this page. You will then be directed to the public OSUG ownCloud to download data files.
To download corresponding data files, please use the following link:
</body>
</html>
# DOI_suffix;data_access_url
CRYOBSCLIM.CDP.2018.HourlySnow;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.HourlySnow.zip
CRYOBSCLIM.CDP.2018.MetInsitu;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.MetInsitu.zip
CRYOBSCLIM.CDP.2018.MetSafran;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.MetSafran.zip
CRYOBSCLIM.CDP.2018.MetSnowDaily;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.MetSnowDaily.zip
CRYOBSCLIM.CDP.2018.SnowProfile;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.SnowProfile.zip
CRYOBSCLIM.CDP.2018.Soil;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.Soil.zip
CRYOBSCLIM.CDP.2018.SolarMask;https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc/download?path=/&files=CRYOBSCLIM.CDP.2018.SolarMask.zip
CRYOBSCLIM.CDP.2018.HourlySnow;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.HourlySnow.zip
CRYOBSCLIM.CDP.2018.MetInsitu;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.MetInsitu.zip
CRYOBSCLIM.CDP.2018.MetSafran;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.MetSafran.zip
CRYOBSCLIM.CDP.2018.MetSnowDaily;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.MetSnowDaily.zip
CRYOBSCLIM.CDP.2018.SnowProfile;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.SnowProfile.zip
CRYOBSCLIM.CDP.2018.Soil;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.Soil.zip
CRYOBSCLIM.CDP.2018.SolarMask;http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/CRYOBSCLIM.CDP.2018.SolarMask.zip
......@@ -7,8 +7,7 @@ use_template_country=false
use_template_doi=false
# general data access URL:
# shared folder: /DOI/data/CRYOBSCLIM/CLP/
dataAccessUrl=https://owncloud.osug.fr/index.php/s/dEwsu2qciLB8tdc
dataAccessUrl=http://doi.osug.fr/data/public/CRYOBSCLIM_CDP/
# enable / disable the generation of embeddedable fragments for landing pages:
generate_embedded=false
......
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
The data can be accessed from the link on this page. You will then be directed to the public OSUG ownCloud to download data files.
To download corresponding data files, please use the following link:
</body>
</html>
# DOI_suffix;data_access_url
CRYOBSCLIM.CLB.BSO;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.BSO.csv.zip
CRYOBSCLIM.CLB.COL;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.COL.csv.zip
CRYOBSCLIM.CLB.DOME;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.DOME.csv.zip
CRYOBSCLIM.CLB.DEM;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.DEM.zip
CRYOBSCLIM.CLB.LACBLANC;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.LACBLANC.csv.zip
CRYOBSCLIM.CLB.MUZELLE;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.MUZELLE.csv.zip
CRYOBSCLIM.CLB.SAFRAN;https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi/download?path=/&files=CRYOBSCLIM.CLB.SAFRAN.csv.zip
CRYOBSCLIM.CLB.BSO;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.BSO.csv.zip
CRYOBSCLIM.CLB.COL;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.COL.csv.zip
CRYOBSCLIM.CLB.DOME;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.DOME.csv.zip
CRYOBSCLIM.CLB.DEM;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.DEM.zip
CRYOBSCLIM.CLB.LACBLANC;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.LACBLANC.csv.zip
CRYOBSCLIM.CLB.MUZELLE;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.MUZELLE.csv.zip
CRYOBSCLIM.CLB.SAFRAN;http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/CRYOBSCLIM.CLB.SAFRAN.csv.zip
......@@ -7,8 +7,7 @@ use_template_country=false
use_template_doi=false
# general data access URL:
# shared folder: /DOI/data/CRYOBSCLIM/CLB/
dataAccessUrl=https://owncloud.osug.fr/index.php/s/oeNlkTJpPZuy3Xi
dataAccessUrl=http://doi.osug.fr/data/public/CRYOBSCLIM_CLB/
# enable / disable the generation of embeddedable fragments for landing pages:
generate_embedded=false
......
add-user data-doi (uid=1001, sid=1001) to have the NFS rights
(nologin home=/home/data-doi)
mkdir /data-doi
chown data-doi:data-doi data-doi/
Mount NFS into /data-doi
As user doi:
ln -s /data-doi/ /srv/doi/www/data
Edit /etc/apache2/sites-enabled/000-default.conf to enable directory listing:
DocumentRoot /srv/doi/osug-doi/www
<Directory /srv/doi/osug-doi/www/data>
Options Indexes FollowSymLinks
IndexOptions Charset=UTF-8 FancyIndexing SuppressHTMLPreamble SuppressColumnSorting SuppressDescription SuppressRules HTMLTable
HeaderName /include/HEADER.html
ReadmeName /include/FOOTER.html
Require all granted
</Directory>
Test at http://doi.osug.fr/data/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment