Skip to content

Commit beb3890

Browse files
committed
2 parents 2a7270a + c4c5e83 commit beb3890

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contents of This Repo
2+
3+
## Frontend Tier
4+
* ```frontend```: The Workspaces frontend (VueJS app).
5+
* Code here: https://github.com/TaskarCenterAtUW/workspaces-frontend.
6+
* Uses the other components within this repo, e.g. ```osm-rails```, ```osm-cgimap``` and ```tasking-manager``` as an API backend.
7+
* ```pathways-editor```: fork of ID editor, with pathways editing support added by Raina at UW.
8+
* ```rapid```: UW fork of Rapid OSM editor.
9+
* Two versions (branches):
10+
* Workspaces version in the ```workspaces``` branch. Need to pull from public version periodically to keep up to date.
11+
* Public version: tries to be a match to ```main``` of upstream.
12+
13+
## Backend Tier
14+
* ```osm-web```: Reverse proxy that dispatches requests to osm-cgimap or osm-rails depending on performance requirements.
15+
* ```osm-log-proxy```: sits in front of the below two services, logs requests for debugging purposes.
16+
* ```osm-rails```: “reference implementation” for OSM API for editing. Slow.
17+
* ```osm-cgimap```: Faster version of osm-rails. API format the same as osm-rails. Only some functions of osm-rails.
18+
* ```tasking-manager```: Not currently using, but task manager for OSM.
19+
20+
# To build images
21+
22+
```docker-compose -f docker-compose.build.yml -env XXX.env build```
23+
24+
Replace XXX.env with the environment definition file of the environment for which you want to build an image. This can be overridden when running (see below).
25+
26+
27+
# To update docker daemon to run with latest images
28+
29+
```docker-compose -f docker-compose.deploy.yml --env-file XXX.env up -d -pull always --force-recreate --remove-orphans```
30+
31+
Replace XXX.env with the environment definition file of the environment for which you are deploying.
32+
33+
# Other Files
34+
35+
* ```example.env```: template of the .env file required by the Docker compose YAML files

0 commit comments

Comments
 (0)