Skip to content

Commit

Permalink
Moved source files into src folder
Browse files Browse the repository at this point in the history
Added missing data files

Moved docker files back to root

Reverted data files

Moved cli scripts back to root

Fixed CLI scripts
  • Loading branch information
macterra committed Jul 24, 2024
1 parent d2563b0 commit b69f55f
Show file tree
Hide file tree
Showing 76 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.btc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY package*.json ./
RUN npm ci

# Copy app
COPY *.js ./
COPY src/*.js ./

# Run...
CMD ["node", "btc-mediator.js"]
8 changes: 4 additions & 4 deletions Dockerfile.gatekeeper
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ COPY package*.json ./
RUN npm ci

# Copy the client build to the keymaster-app directory
COPY keymaster-app/package*.json ./keymaster-app/
COPY src/keymaster-app/package*.json ./keymaster-app/
RUN cd keymaster-app && npm ci

COPY keymaster-app/public ./keymaster-app/public/
COPY keymaster-app/src ./keymaster-app/src/
COPY src/keymaster-app/public ./keymaster-app/public/
COPY src/keymaster-app/src ./keymaster-app/src/
RUN cd keymaster-app && npm run build

# Copy app
COPY *.js ./
COPY src/*.js ./

# Run...
CMD ["node", "gatekeeper-api.js"]
2 changes: 1 addition & 1 deletion Dockerfile.hyperswarm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY package*.json ./
RUN npm ci

# Copy app
COPY *.js ./
COPY src/*.js ./

# Run...
CMD ["node", "hyperswarm-mediator.js"]
8 changes: 4 additions & 4 deletions Dockerfile.keymaster
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ COPY package*.json ./
RUN npm ci

# Copy the client build to the kc-app directory
COPY kc-app/package*.json ./kc-app/
COPY src/kc-app/package*.json ./kc-app/
RUN cd kc-app && npm ci

COPY kc-app/public ./kc-app/public/
COPY kc-app/src ./kc-app/src/
COPY src/kc-app/public ./kc-app/public/
COPY src/kc-app/src ./kc-app/src/
RUN cd kc-app && npm run build

# Copy app
COPY *.js ./
COPY src/*.js ./

# Run...
CMD ["node", "keymaster-api.js"]
2 changes: 1 addition & 1 deletion Dockerfile.tess
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY package*.json ./
RUN npm ci

# Copy app
COPY *.js ./
COPY src/*.js ./

# Run...
CMD ["node", "tess-mediator.js"]
2 changes: 1 addition & 1 deletion admin
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
node admin-cli.js "$@"
node src/admin-cli.js "$@"

2 changes: 1 addition & 1 deletion kc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
node keychain-cli.js "$@"
node src/keychain-cli.js "$@"

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b69f55f

Please sign in to comment.