Skip to content

Commit

Permalink
Add nextflow-welcome.html
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Dec 7, 2023
1 parent a6e6dc3 commit a7fa204
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jupyter-nextflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ COPY --chown=jovyan:users resources/jupyter_notebook_config.py /home/$NB_USER/.j
RUN cat /home/$NB_USER/.jupyter/tmp.py >> /home/$NB_USER/.jupyter/jupyter_notebook_config.py && rm /home/$NB_USER/.jupyter/tmp.py

RUN mamba install -yc bioconda nextflow==22.10.6

# welcome page
ADD --chown=jovyan:users nextflow-welcome.html /home/$NB_USER/
RUN touch /home/$NB_USER/nextflow-welcome.html
57 changes: 57 additions & 0 deletions jupyter-nextflow/nextflow-welcome.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!doctype html>
<html lang=en>
<title>Nextflow Workspace</title>
<link href="https://fonts.googleapis.com/icon?family=Source+Sans+Pro"
rel=stylesheet>
<style>
body {
font-family: "Source Sans Pro", sans-serif;
background: #f5f5f5;
margin: 0;
padding: 0 20px 20px 20px;
font-size: 14px;
line-height: 1.6em;
letter-spacing: .02rem
}

h1.header {
margin: 20px 10px 16px;
border-bottom: solid #421c52 2px;
font-size: 32px;
font-weight: 600;
line-height: 2em;
letter-spacing: 0;
color: #000
}

.content {
padding: 10px
}
</style>
<h1 class=header>Welcome to the Nextflow Workspace</h1>
<div class=content>
<p><strong>This is your personal workspace. The "pd" folder represents your
persistent drive:</strong></p>
<ul>
<li>The files you save here will still be available when you come back
after terminating your workspace session.
<li>Any personal files outside of this folder will be lost.
</ul>
<h2 class=header>Get started with Nextflow</h2>
<p>If you are new to Nextflow, visit <a
href=https://www.nextflow.io>nextflow.io</a> for detailed information.
</p>
<p>This workspace is set up to run Nextflow workflows in AWS Batch. Your
Nextflow configuration must include the Batch queue, IAM role ARN and work
directory that were created for you automatically. The sample configuration
file will allow you to run simple workflows and can be adapted to your
needs. To get started:
</p>
<ul>
<li>Copy the contents of <a href="./data/sample-nextflow.config">your
sample configuration file</a> to a new "nextflow.config" file.
<li>Open a terminal through the "Launch" tab.
<li>Run the Hello World workflow in the terminal with command "nextflow
run hello".
</ul>
</div>

0 comments on commit a7fa204

Please sign in to comment.