Skip to content

Commit

Permalink
Merge pull request #35 from bludnic/module
Browse files Browse the repository at this point in the history
Pro version
  • Loading branch information
bludnic authored May 22, 2024
2 parents 5e4827d + 9ab8286 commit b557775
Show file tree
Hide file tree
Showing 322 changed files with 181 additions and 20,443 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
--build-arg NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC=true
--build-arg NEXT_PUBLIC_STATIC=true
--build-arg ADMIN_PASSWORD=password
--build-arg GITHUB_TOKEN=${{ secrets.PRO_GITHUB_TOKEN }}
-f pro.Dockerfile
-t opentrader/opentrader:latest .
- name: Push Docker Image
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "pro"]
path = pro
url = [email protected]:bludnic/opentrader-pro.git
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
public-hoist-pattern[]=*prisma*
auto-install-peers=true
lockfile=false
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ RUN corepack enable

WORKDIR /app

COPY --from=installer /app/apps/frontend/out ./apps/frontend/out
COPY --from=installer /app/apps/processor ./apps/processor
COPY --from=installer /app/pro/frontend/out ./pro/frontend/out
COPY --from=installer /app/pro/processor ./pro/processor
COPY --from=installer /app/package.json ./package.json
COPY --from=installer /app/pnpm-lock.yaml ./pnpm-lock.yaml
COPY --from=installer /app/pnpm-workspace.yaml ./pnpm-workspace.yaml
Expand All @@ -93,9 +93,9 @@ RUN addgroup --system --gid 1001 expressjs
RUN adduser --system --uid 1001 expressjs
USER expressjs

COPY --from=optimizer /app/apps/frontend/out ./apps/frontend/out
COPY --from=optimizer /app/apps/processor ./apps/processor
COPY --from=optimizer /app/pro/frontend/out ./pro/frontend/out
COPY --from=optimizer /app/pro/processor ./pro/processor
COPY --from=optimizer /app/node_modules ./node_modules

WORKDIR /app/apps/processor
WORKDIR /app/pro/processor
CMD node dist/main.js
1 change: 0 additions & 1 deletion apps/frontend/.env

This file was deleted.

5 changes: 0 additions & 5 deletions apps/frontend/.eslintrc.js

This file was deleted.

40 changes: 0 additions & 40 deletions apps/frontend/.gitignore

This file was deleted.

80 changes: 0 additions & 80 deletions apps/frontend/Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions apps/frontend/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions apps/frontend/jest.config.js

This file was deleted.

5 changes: 0 additions & 5 deletions apps/frontend/next-env.d.ts

This file was deleted.

30 changes: 0 additions & 30 deletions apps/frontend/next.config.js

This file was deleted.

78 changes: 0 additions & 78 deletions apps/frontend/package.json

This file was deleted.

Binary file not shown.
Binary file removed apps/frontend/public/exchanges/logos/64x64/bybit.png
Binary file not shown.
Binary file removed apps/frontend/public/exchanges/logos/64x64/coinbase.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed apps/frontend/public/exchanges/logos/64x64/okx.png
Binary file not shown.
Binary file removed apps/frontend/public/favicon.ico
Binary file not shown.
Binary file removed apps/frontend/public/logo.png
Binary file not shown.
2 changes: 0 additions & 2 deletions apps/frontend/public/robots.txt

This file was deleted.

54 changes: 0 additions & 54 deletions apps/frontend/src/app/api/trpc/[trpc]/route.ts

This file was deleted.

Loading

0 comments on commit b557775

Please sign in to comment.