Skip to content

Commit 6469e88

Browse files
committed
Dev tools
1 parent 0a2b651 commit 6469e88

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ dev.env
55
stage.env
66
prod.env
77

8+
tasking-manager/
9+
rapid/
10+
pathways-editor/
11+
osm-rails/
12+
osm-cgimap/
13+
leaderboard/
14+
frontend/

checkout-repos.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
3+
# A script to prep the repos as the CI/CD pipeline does, e.g. when you're developing on your local machine
4+
#
5+
# Run as ./checkout-repos.sh <tag name> e.g. ./checkout-repos.sh dev
6+
#
7+
8+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-frontend.git frontend
9+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-cgimap.git osm-cgimap
10+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-openstreetmap-website.git osm-rails
11+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-pathways-editor.git pathways-editor
12+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-rapid.git rapid
13+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-tasking-manager.git tasking-manager
14+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-leaderboard.git leaderboard

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ services:
149149
PIDFILE: /tmp/pids/server.pid
150150
tmpfs: /tmp/pids/
151151
build:
152+
dockerfile: Dockerfile.prod
153+
context: osm-rails
152154
args:
153155
WS_OSM_DB_HOST: ${WS_OSM_DB_HOST}
154156
WS_OSM_DB_USER: ${WS_OSM_DB_USER}

0 commit comments

Comments
 (0)