Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

abnerbog/Water-Content-Portal-Archived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Water-Content-Portal

Scratch repository for demoing CUAHSI-hosted portal for versioned water content.

Setup for building site locally

Installation using conda

If you do not already have a conda-based package and environment management system, we recommend downloading Miniconda. To set-up the environment configured with the necessary libraries to build the website locally, use the provided environment.yml file and run this command in the root directory:

conda env create --file environment.yml

Note this may take a few minutes to execute. To activate the newly created environment, in the same directory run this command:

conda activate water-content-portal-env

You have now configured the required packages and environment to build the website locally!

Building the website using mkdocs

MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it! In the root directory, you can start the server through this command:

mkdocs serve

You will see a local link to the server in the command line (e.g., http://127.0.0.1:8000/) that you can use to view the website. Note that you can keep the server open while making local edits to the documentation. Once you save your changes, your edits will be dynamically added to your local build of the website.

About

Scratch repository for demoing CUAHSI-hosted portal for versioned water content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published