Skip to content

jason-seqera/nf-tower-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextflow Tower documentation

This repository contains the publishing project for https://help.tower.nf. Create an issue to request documentation fixes and improvements.

Do not edit the markdown files in this repo, they are ported from nf-tower-cloud. Content additions and edits must be performed in the nf-tower-cloud repo.

Building the docs depends on mkdocs, mkdocs-material, and mike.

Build a Docker image for the documentation

Generate a token on <git.seqera.io>

To build the Docker container to serve the mkdocs site, you must generate a token on Gitea.

  • Log in to git.seqera.io using your Seqera credentials
  • In the top right menu, click on your avatar and select Settings from the drop-down menu
  • Select Applications near the top of the page
  • Generate a new token and copy the value after form submission
  • Store the token value as a GITEA_TOKEN environment variable, optionally added to .bashrc/.zshrc. Run source .bashrc or source .zshrc once saved.

Build docs image

Build the seqera-docs image:

docker build --build-arg GITEA_TOKEN=${GITEA_TOKEN} -t seqera-docs .

This command can be replaced with make build-docker.

Run documentation locally

Once the Docker command above has been run successfully, navigate to the root of the nf-tower-cloud repository. Then use this command to serve the documentation locally:

docker run --rm -p 8000:8000 -v ${PWD}/docs:/docs/docs seqera-docs:latest serve --dev-addr=0.0.0.0:8000

Visit http://0.0.0.0:8000 from your favorite browser.

About

Nextflow Tower Documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 51.2%
  • Dockerfile 48.8%