Commit 6237eb59 authored by Roque's avatar Roque

erp5_wendelin_data_lake_ui: download page refactoring

parent b2b0456f
...@@ -6,36 +6,6 @@ height: 80pt !important; ...@@ -6,36 +6,6 @@ height: 80pt !important;
padding-top: 10pt; padding-top: 10pt;
} }
/*
=========================================================================
============================ download-page =============================
=========================================================================
*/
div.download {
max-width: 650px;
}
.download td input {
margin-top:5px;
}
.download div.document_table.first {
margin-bottom:50px;
}
.download div.document_table {
margin-bottom:30px;
}
.download th {
font-size: 1.15em;
}
.download td {
font-size: 1.15em;
}
/* /*
========================================================================= =========================================================================
=========================== download-access ============================ =========================== download-access ============================
...@@ -235,3 +205,94 @@ div.contact { ...@@ -235,3 +205,94 @@ div.contact {
.contact h2.top { .contact h2.top {
margin-top: 1.75em; margin-top: 1.75em;
} }
/*
=========================================================================
============================ download-page =============================
=========================================================================
*/
div.download {
max-width: 800px;
}
/*.download td input {
margin-top:5px;
}
.download div.document_table.first {
margin-bottom:50px;
}
.download div.document_table {
margin-bottom:30px;
}
.download th {
font-size: 1.15em;
}
.download td {
font-size: 1.15em;
}*/
.download p {
font-size: 1.25em;
line-height: 1.58em;
letter-spacing: -.003em;
}
.download h1 {
color: #116D82;
font-weight: bold;
font-family: "Roboto", Arial, sans-serif;
margin-top: 1.0em;
margin-bottom: 0.5em;
font-size: 1.75em;
}
.download h2 {
color: #116D82;
font-weight: bold;
font-family: "Roboto", Arial, sans-serif;
margin-top: 0.7em;
margin-bottom: 0.3em;
font-size: 1.45em;
}
.download .header p {
font-size: 1.5em;
vertical-align: middle;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: bold;
}
.download div.header {
text-align: center;
margin-bottom: 1.0em;
}
.download div.code {
margin-bottom: 15px;
margin-top: 10px;
line-height: 1.6em;
overflow-x: auto;
color: #2e2e2e;
font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;
display: block;
padding: 8px 12px;
font-size: 13px;
word-break: break-all;
word-wrap: break-word;
background-color: #fafafa;
border: 1px solid #e5e5e5;
border-radius: 2px;
}
.download code {
padding: 2px 4px;
color: #116D82;
background-color: #e6f2ff;
border-radius: 4px;
}
\ No newline at end of file
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>977.26211.26687.24797</string> </value> <value> <string>987.37986.1361.13329</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1564406641.06</float> <float>1603829917.54</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -19,136 +19,52 @@ ...@@ -19,136 +19,52 @@
</head> </head>
<body> <body>
<div class="download"> <div class="download">
<div class="document_table first"> <div class="header">
<table class="ui-responsive ui-body-c ui-table-inset"> <img src="telecom-nexedi-logos?display=svg" alt="BigData Home">
<thead class="ui-bar-inherit thead"> <p>Ebulk tool</p>
<tr>
<th class="">EBULK TOOL</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Ebulk tool makes easy to exchange or archive very large data sets. It performs data set ingestions or downloads from different protocols, to Wendelin-IA platform. It also allows to perform local changes in data sets and to upload added and modified files. One key feature of Ebulk is to be able to resume and recover from errors happening with interrupted transfers. <b><a href="#/?page=ebulk_doc" style="color:#116D82">See documentation</a></b>.
</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</table>
</div> </div>
</div> <h1>Tool description</h1>
<div class="download"> <p><a target="_blank" href="https://lab.nexedi.com/nexedi/ebulk">Ebulk</a> makes easy to exchange or archive very large data sets. It performs data set ingestions or downloads from different protocols, to Wendelin-IA platform. It also allows to perform local changes in data sets and to upload added and modified files. One key feature of Ebulk is to be able to resume and recover from errors happening with interrupted transfers. <b><a href="#/?page=ebulk_doc" style="color:#116D82">See documentation</a></b></p>
<div class="document_table">
<div class="ui-table-header ui-header ui-bar-c ui-corner-all">
<h1 class="ui-title ui-override-theme">Linux</h1>
</div>
<table class="ui-responsive ui-body-c ui-table-inset">
<thead class="ui-bar-inherit thead">
<tr>
<th class="">
<p>Linux PPA repository</p>
<p>(make sure software-properties-common is installed in order to run all apt commands)</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
sudo apt-get install software-properties-common
</td>
</tr>
<tr>
<td>
sudo add-apt-repository ppa:rporchetto/ebulk-ppa
</td>
</tr>
<tr>
<td>
sudo apt-get update
</td>
</tr>
<tr>
<td>
sudo apt-get install ebulk
</td>
</tr>
</tbody> <h1>Requirements</h1>
<tfoot> <p>Ebulk tool relies on <b>Embulk</b> Java application (see <a target="_blank" href="https://www.embulk.org/">docs</a>). Please make sure that <a target="_blank" href="https://www.oracle.com/java/technologies/javase-downloads.html">Java 8</a> is installed.
</tfoot> </p>
</table>
<!-- rpm
<table class="ui-responsive ui-body-c ui-table-inset">
<thead class="ui-bar-inherit thead">
<tr>
<th class="">Linux (rpm)</th>
</tr>
</thead>
<tbody>
<tr>
<td>
wget http://www.wendelin.io//document_module/1/Base_download -O ebulk-1.1.2-1.rpm
</td>
</tr>
<tr>
<td>
rpm -Uhv ebulk-1.1.2-1.rpm
</td>
</tr>
</tbody> <h1>Install</h1>
<tfoot> <p>Please use the package installation for your operative system and follow the installation instructions.</p>
</tfoot>
</table> -->
<h2>Linux</h2>
<p>Ebulk package available in ubuntu-ppa repository allows to easily install the tool using apt commands.</p>
<p>Make sure <code>software-properties-common</code> is installed in order to run all apt commands:</p>
<div class="code"><p>sudo apt-get install software-properties-common</p></div>
<p>Add the ppa repository:</p>
<div class="code"><p>sudo add-apt-repository ppa:rporchetto/ebulk-ppa</p></div>
<p>Update your local sources and install ebulk:</p>
<div class="code">
<p>sudo apt-get update</p>
<p>sudo apt-get install ebulk</p>
</div>
<h2>Debian considerations</h2>
<p>For any OS version/series inconvenient during apt installation, it is recommended to install ebulk from the <code>.deb</code> package directly.</p>
<p>Please download the latest <code>.deb</code> ebulk package and install it by running:</p>
<div class="code"><p>dpkg -i ebulk_package.deb</p></div>
<h2>Mac OS X</h2>
<p>Installation on Mac OS can be done via homebrew packages by running:</p>
<div class="code"><p>brew install https://github.com/roquegit/homebrew-ebulk/raw/master/ebulk.rb</p></div>
<h2>Potential installation issues</h2>
<p>During the package intallation, or during first ebulk execution, the bash script will try to install Embulk automatically (if it is not installed).
If your OS needs special permission, it maybe will be necessary to install Embulk v 0.9.7 manually:</p>
<div class="code">
<p>curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.bintray.com/embulk/maven/embulk-0.9.7.jar"</p>
<p>chmod +x ~/.embulk/bin/embulk</p>
<p>echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc</p>
<p>source ~/.bashrc</p>
</div> </div>
<div class="document_table"> <h2>Linux Source</h2>
<div class="ui-table-header ui-header ui-bar-c ui-corner-all"> <p><a href="https://lab.nexedi.com/nexedi/ebulk"> Git project repository</a></p>
<h1 class="ui-title ui-override-theme">Mac OS X</h1>
</div>
<table class="ui-responsive ui-body-c ui-table-inset">
<thead class="ui-bar-inherit thead">
<tr>
<th class="">Mac OS X</th>
</tr>
</thead>
<tbody>
<tr>
<td>
brew install https://github.com/roquegit/homebrew-ebulk/raw/master/ebulk.rb
</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</table>
</div>
<div class="document_table">
<div class="ui-table-header ui-header ui-bar-c ui-corner-all">
<h1 class="ui-title ui-override-theme">Linux Source</h1>
</div>
<table class="ui-responsive ui-body-c ui-table-inset">
<thead class="ui-bar-inherit thead">
<tr>
<th class="">Linux Source</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="https://lab.nexedi.com/nexedi/ebulk"> Git project repository</a>
</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</table>
</div>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>987.18996.61747.7236</string> </value> <value> <string>987.37968.59209.13056</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1602690580.1</float> <float>1603829821.44</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
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