Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Sep 16, 2024
1 parent abd6734 commit 199f4f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 4 additions & 0 deletions dev/compose
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eou pipefail

docker compose -f dev/docker-compose.yml -p "xmtp-js" "$@"
4 changes: 0 additions & 4 deletions dev/docker-compose

This file was deleted.

5 changes: 3 additions & 2 deletions dev/down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
set -eou pipefail
script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

dev/docker-compose down
"${script_dir}"/compose down
11 changes: 4 additions & 7 deletions dev/up
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/bash
set -e
set -eou pipefail
script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

if ! which docker &>/dev/null; then
echo "Docker required to run dev/up. Install it and run this again."
exit 1
fi

dev/docker-compose up -d
"${script_dir}"/compose pull
"${script_dir}"/compose up -d --build

0 comments on commit 199f4f1

Please sign in to comment.