Skip to content

Commit

Permalink
Outline of operational docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Philion committed May 16, 2024
1 parent 48268f4 commit 23cfa2e
Showing 1 changed file with 63 additions and 1 deletion.
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,69 @@ Visualizations of coverage and performance analysis for Community Cellular Netwo

Now hosted on https://coverage.seattlecommunitynetwork.org/

# Testing & Deployment

## Initial Setup
To install this service, the fist time, you will need to:

1. Required tools and versions:
1. node
2. npm
2. Configure:
1. x
2. y
3. z
3. Deploy as below.

* What tools are needed and how are they installed?
* What configuration is needed?
* How is configuration set?


## Deploying
Once the service has been setup (as above), it can be deployed using the following process:
1. Login to the <coverage-host>
2. Pull the lastest version from github
3. Restart the server

```
ssh <coverage-host>
cd ccn-coverage-vis
git pull
pm2 restart
```

## Troubleshooting & Recovery
When a problem occurs, there are several checks to determine where the failure is:
1. Check HTTP errors in the browser
1. Login to the <coverage-host>
2. Confirm ccn-coverage-vis is operating as expected
3. Confirm nginx is operating as expected

### Checking HTTP errors in the browser



### Checking ccn-coverage-vis with pm2

```
ssh <coverage-host>
pm2 list
# expect "API" in the list, expect running, screenshot
```


Running? check pm2


### Checking nginx

Check service operation

Check nginx logs



## Testing

Changes to the main branch are automically built and deployed to: https://seattlecommunitynetwork.org/ccn-coverage-vis/

Expand Down

0 comments on commit 23cfa2e

Please sign in to comment.