Skip to content

Commit 377177e

Browse files
authored
Docs updates (#1101)
* Admin section with starting instructions on deploying. * Overall cleanup. Started new user section and a few other placeholder pages.
1 parent bb35e0b commit 377177e

File tree

10 files changed

+114
-4
lines changed

10 files changed

+114
-4
lines changed

docs/docs/admins/backups.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Backups

docs/docs/admins/config.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Configuration
2+
3+
Each instance of Clowder can be configured at deployment time using the config file. The config file is located
4+
in `backend/app/config.py`. At run time, environmental variables passed into the container will override the defaults
5+
in the config file. When using Docker Compose, the environmental variables are set in the `docker-compose.yml` file or
6+
in `.env` file. In the case of Kubernetes, the environmental variables are set in the `values.yaml` file.

docs/docs/admins/dockercompose.md

Whitespace-only changes.

docs/docs/admins/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Overview
2+
3+
Clowder relies heavily on [Docker](https://www.docker.com/) containers for both development and production. There are
4+
two options to deploy Clowder in production: [Docker Compose]((dockercompose.md)) and [Kubernetes Helm
5+
charts](https://helm.sh/).
6+
7+
## Docker Compose
8+
9+
The easiest way to get started is to clone the repository and run `docker compose up` in the main directory. This will
10+
start all the services and the web interface. Internally, docker compose will run
11+
[traeifk](https://traefik.io/traefik/) as a reverse proxy and make all services available on the host machine.
12+
13+
```
14+
docker compose up
15+
open http://localhost
16+
```
17+
18+
For more information on using docker compose see [Docker Compose](dockercompose.md).
19+
20+
## Kubernetes Helm Charts
21+
22+
While this works find for single node instances, if you want to scale the system, you can use the Helm charts to deploy
23+
the application on a Kubernetes cluster. The Helm charts are available in the `deployments/kubernetes/charts` directory.
24+
See *README.md* in that directory for more information.
25+
26+
For more information on kubernetes and Helm see [Kubernetes](kubernetes.md).

docs/docs/admins/kubernetes.md

Whitespace-only changes.

docs/docs/devs/architecture.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ Lines show interactions between containers over the docker network.
1010
![Clowder v2 architecture](../assets/images/architecture.jpg)
1111
<figcaption>Architecture</figcaption>
1212
</figure>
13+
I want to `slkdfjslkdjf` include a
14+
15+
- alkdjflskjdf
16+
- alskdjflksajfd
17+
- [slkjdf](http://clowder.com)
18+
-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Webpack Lazy Loading

docs/docs/devs/precommits.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Precommits and Linting
2+

docs/docs/users/index.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,60 @@
1-
# ⚠ Under construction ⚠
1+
# Getting Started
2+
3+
This section is for end users interested in using Clowder as a data repository, data sharing
4+
platform, or to develop data pipelines.
5+
6+
There are two main ways to interact with Clowder
7+
8+
- web interface
9+
- web API
10+
11+
Most users will use the web interface to upload, download, and manage data, metadata, analytics and data visualizations.
12+
Advanced users can use the web API to interact with Clowder programmatically through scripts, Jupyter notebooks, or
13+
other services.
14+
15+
## Data Model
16+
17+
The main resources in Clowder is the **dataset**.
18+
A Clowder dataset is a collection of files, folders, metadata and visualizations.
19+
Datasets can be shared and downloaded.
20+
When uploading new data, users can create a new dataset or add files to existing datasets.
21+
22+
One unique aspect of Clowder is the ability to attach **metadata** to files and datasets.
23+
Metadata can be used to store any kind of information about the underlying data, such as provenance, data quality, or
24+
data processing steps.
25+
A dataset or a file can have multiple metadata documents attached to it.
26+
These metadata documents can be manually added by the owner of the file or dataset, or automatically generated by
27+
information extractors.
28+
If the dataset is shared with other users, they can also add metadata to the dataset.
29+
30+
Unlike most other systems which store metadata as key value pairs, Clowder represents metadata as JSON for Linking
31+
Data, [JSON-LD](https://json-ld.org/).
32+
The advantage of using JSON-LD is that it affords the simplicity of JSON, but enforces semantic information about each
33+
field in the JSON document.
34+
JSON-LD can also be serialized to [RDF](https://en.wikipedia.org/wiki/Resource_Description_Framework), make metadata
35+
interoperable with other systems, including [knowledge graphs](https://en.wikipedia.org/wiki/Knowledge_graph).
36+
37+
When a user manually adds metadata to a file or dataset, they will pick from a list of metadata fields defined by the
38+
system.
39+
The administrators of the Clowder instance can define the metadata fields that are available to users.
40+
These metadata fields can be simple text fields, dropdowns, or more complex fields like date pickers.
41+
Clowder, via information extractors, can also add metadata automatically to files and datasets.
42+
These metadata documents can be the results a ofa manual submission to an information extractor or the result of an
43+
automatic extraction triggered by the system.
44+
45+
## Signing Up
46+
47+
Each user must sign up for an account to use Clowder. By default, users can sign up for a local account on the specific
48+
Clowder instance. Some instances may also allow users to sign in using single sign-on, through OAuth provider like
49+
Google, GitHub, [CILogon](https://cilogon.org/), [Globus](https://www.globus.org/).
50+
51+
Depending on the configuration of the instance, users might not be automatically enabled once they have created an
52+
account.
53+
In this case, the administrator of the instance will need to enable the account.
54+
55+
## Browsing and Searching
56+
57+
## Uploading Data
58+
59+
## Sharing Data
60+

docs/mkdocs.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ repo_url: https://github.com/clowder-framework/clowder2
33
edit_uri: mkdocs/docs
44
nav:
55
- Home: index.md
6-
- User Guide:
7-
- users/index.md
6+
- Users:
7+
- Overview: users/index.md
88
- Visualizations: users/visualizations.md
9-
- Developer Guide:
9+
- Developers:
1010
- Getting started: devs/getstarted.md
1111
- Architecture: devs/architecture.md
12+
- Frontend:
13+
- devs/frontend/lazyloading.md
1214
- Keycloak: devs/keycloak.md
1315
- Metadata: devs/metadata.md
1416
- Mongo: devs/mongo-fastapi.md
@@ -18,6 +20,13 @@ nav:
1820
- Standalone Docker Deployment: devs/standalone-docker-deployment.md
1921
- Proposals:
2022
- Storage: devs/storage.md
23+
- Admins:
24+
- Overview: admins/index.md
25+
- Deployment:
26+
- 'Docker compose': admins/dockercompose.md
27+
- admins/kubernetes.md
28+
- admins/config.md
29+
- admins/backups.md
2130
- About: about.md
2231

2332
theme:

0 commit comments

Comments
 (0)