Skip to content

Commit 3d10915

Browse files
mfarina1BrianSipos
andauthored
Update README.md (#315)
* Update README.md * Update README.md following Edell's feedback * Update README.md * Update README.md * Update README.md (more typos) --------- Co-authored-by: Brian Sipos <brian.sipos@jhuapl.edu>
1 parent 630f0e3 commit 3d10915

File tree

1 file changed

+50
-19
lines changed

1 file changed

+50
-19
lines changed

README.md

Lines changed: 50 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 The Johns Hopkins University Applied Physics
2+
Copyright (c) 2022-2026 The Johns Hopkins University Applied Physics
33
Laboratory LLC.
44
55
This file is part of the Asynchronous Network Management System (ANMS).
@@ -21,13 +21,42 @@ subcontract 1658085.
2121
-->
2222
# AMMOS ANMS
2323

24-
This is a detailed developer-focused documentation for the AMMOS Asynchronous Network Management System (ANMS).
24+
This is the quickstart documentation for the AMMOS Asynchronous Network Management System (ANMS).
2525

2626
### Copyright
2727

28-
Copyright (C) 2022-2025 The Johns Hopkins University Applied Physics Laboratory LLC.
28+
Copyright (C) 2022-2026 The Johns Hopkins University Applied Physics Laboratory LLC.
2929

30-
[[_TOC_]]
30+
# Start Here: Which Documentation Should You Use?
31+
32+
ANMS supports multiple types of users. The appropriate documentation depends on how you are interacting with the system.
33+
34+
**1. Are you installing ANMS from this source repository?**
35+
36+
If yes, then use this README for:
37+
* Quickstart instructions
38+
* Installation steps
39+
* Basic configuration
40+
* High-level overview
41+
42+
For detailed operational guidance after installation, refer to the ANMS User Guide, found here: www.nasa-ammos.github.io/anms-docs/.
43+
44+
**2. Are you an AMMOS user or operating an already-installed ANMS instance (not from source)?**
45+
46+
If yes, do not rely on this README for operational guidance. Refer to the ANMS Product Guide and ANMS User Guide for:
47+
* System usage
48+
* Operational workflows
49+
* Configuration details
50+
51+
**NOTE:** These guides apply to *all* users once ANMS is installed.
52+
53+
**3. Are you a developer contributing to ANMS or setting up a development environment?**
54+
55+
If yes, refer to both this README and the ANMS Wiki [Development Guide](https://github.com/NASA-AMMOS/anms/wiki/Development-Guide) for:
56+
* Local development environment configuration
57+
* Testing workflows
58+
* Contribution guidelines
59+
* Additional troubleshooting guidance
3160

3261
# Quick Start
3362

@@ -37,19 +66,20 @@ This section details prerequisites to installing the ANMS from source on a devel
3766

3867
### Software and OS Versions
3968

40-
The setup of ANMS and demos listed in this README have been tested on macOS 11.6.4 (Big Sur), RHEL 9 and Ubuntu 20.04.
41-
To run the ANMS tool, you must also install Docker Engine version 20.10.10 or newer or Podman 5.2.2+. You will also need either Docker Compose version 1.29.2+ or podman-compose. Docker and podman can generally be used interchangeably.
69+
The setup of ANMS and demos listed in this README have been tested on macOS 11.6.4 (Big Sur), RHEL 9 and Ubuntu 20.04.
70+
To run the ANMS tool, you must also install Docker Engine version 20.10.10 or newer or Podman 5.2.2+. You will also need either Docker Compose version 1.29.2+ or podman-compose. Docker and Podman can generally be used interchangeably.
4271

43-
The ANMS UI capability has been tested on Firefox version 96.0.1.
44-
There is no capability that should preclude operation on other modern browsers.
72+
**NOTE:** `docker-compose` can be used with `podman`, and `docker-compose` is generally recommended for improved reliability over `podman-compose`, with some platforms (e.g. Mac) failing to start up correctly with Podman. In all cases, recent versions of the installed compose tool are invoked with `podman compose` or `docker compose` as appropriate.
73+
74+
The ANMS UI should work on all modern browsers.
4575

4676
### Network Setup
4777

4878
If your computer is behind a network proxy, this may cause issues related to using self-signed certificates when pulling dependencies to build Docker images.
49-
Though ANMS can be run behind a proxy; building the ANMS Docker images from behind a network proxy may result in errors.
79+
Though ANMS can be run behind a proxy, building the ANMS Docker images from behind a network proxy may result in errors.
5080

51-
The first steps in each of the container image `Dockerfile` is to attempt to download an APLNIS root CA to validate the APLNIS HTTPS proxy.
52-
When building images outside of the APLNIS, this download will gracefully fail and the image will not be able to run within the APLNIS. The URL for this certificate can be changed for users requiring equivalent functionality on their own networks.
81+
The first steps in each of the container image `Dockerfile` is to attempt to download the appropriate root CA to validate your HTTPS proxy.
82+
When building images outside of the internal network, it is possible that this download will gracefully fail and the image will not be able to run within the internal network. The URL for this certificate can be changed for users requiring equivalent functionality on their own networks.
5383

5484
### Special Notes on Podman
5585

@@ -62,7 +92,8 @@ Note: If running on a system where **SELinux** is enabled, the system will not s
6292

6393
### Upgrading ANMS
6494

65-
If upgrading from an earlier version, a few steps are necessary to clear out earlier state.
95+
If upgrading from an earlier version, a few steps are necessary to clear out the earlier state. **NOTE:** please see the `UPGRADING.md` file in this repo for specific changes when one wishes to preserve data.
96+
6697
The following command sequence uses standard Docker commands to stop all containers and remove all "dangling" images, networks, and volumes.
6798

6899
:warning: The last command in this sequence removes volumes, **which include DB state**.
@@ -81,16 +112,16 @@ docker stop $(docker ps -q); docker rm $(docker ps --all -q); docker system prun
81112

82113
The quickstart script will configure, pull, and start the ANMS system for the first time. See comments in the script for additional details, including optional ENV variables to override default behavior.
83114

84-
NOTICE: By default, quick start will pull pre-built containers from the github registry (ghcr.io). To force a rebuild, run it as `FORCE_REBULD=y ./quickstart.sh`. See the script header for details.
115+
NOTICE: By default, quick start will pull pre-built containers from the github registry (ghcr.io). To force a rebuild, run it as `FORCE_REBUILD=y ./quickstart.sh`. See the script header for details.
85116

86-
To stop the system use `podman compose -f testenv-compose.yml -f docker-compose.yml down`.
117+
To stop the system, use `podman compose -f testenv-compose.yml -f docker-compose.yml down`.
87118

88-
To start the system in the future use `podman compose -f testenv-compose.yml up` and `podman compose up`.
119+
To start the system in the future, use `podman compose -f testenv-compose.yml up` and `podman compose up`.
89120

90121
## Manual Startup
91-
Choose the appropriate docker, podman or podman-compose commands in the directions below as appropriate for your system.
122+
Choose the appropriate docker, podman, or podman-compose commands in the directions below as appropriate for your system.
92123

93-
- Edit `.env` file as appropriately
124+
- Edit `.env` file as appropriate.
94125
- Select appropriate profile(s) as desired.
95126
- Core ANMS services are always started.
96127
- The 'full' profile starts up all UI and related services.
@@ -111,8 +142,8 @@ Choose the appropriate docker, podman or podman-compose commands in the directio
111142
- `docker compose -f docker-compose.yml build`
112143
- `podman compose -f docker-compose.yml build`
113144
- `podman-compose --podman-build-args='--format docker' -f docker-compose.yml build`
114-
- Note: The docker format argument here enables suppoort for HEALTHCHECK. If omitted, the system will run but will be unable to report the health of the system. This flag does not appear necessary when using the no-dash version of compose.
115-
- Build test environemnt images using one of the following:
145+
- Note: The docker format argument here enables support for HEALTHCHECK. If omitted, the system will run but will be unable to report the health of the system. This flag does not appear necessary when using the no-dash version of compose.
146+
- Build test environment images using one of the following:
116147
- `docker compose -f testenv-compose.yml build`
117148
- `podman compose -f testenv-compose.yml build`
118149
- `podman-compose --podman-build-args='--format docker' -f testenv-compose.yml build`

0 commit comments

Comments
 (0)