Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Jan 5, 2024
2 parents 211f356 + 4e2afcd commit bda1d3e
Show file tree
Hide file tree
Showing 201 changed files with 31,543 additions and 199,422 deletions.
40 changes: 40 additions & 0 deletions .deploy/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wallet-prajna
namespace: hypermine-development
spec:
selector:
matchLabels:
app: wallet-prajna
template:
metadata:
labels:
app: wallet-prajna
spec:
containers:
- name: wallet-prajna
image: pratapmridha/wallet:__LATEST_RELEASE_TAG__
resources:
limits:
memory: "256Mi"
cpu: "100m"
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: wallet-prajna-service
namespace: hypermine-development
annotations:
cloud.google.com/neg: '{"ingress": true}'
spec:
type: NodePort

selector:
app: wallet-prajna
ports:
- port: 80
targetPort: 80
protocol: TCP
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/web-server/node_modules
/web-server/public
/*.log
/dist
# /dist
/dist-zip
/bower_components
/.history
Expand Down
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM node:18 as build-stage
WORKDIR /app

COPY package*json ./

COPY .env .
RUN npm install
COPY . .
RUN npm run build

FROM nginx:1.13.8 as production-stage
COPY --from=build-stage /app/www /usr/share/nginx/html

COPY --from=build-stage /app/jvjr-entrypoint.sh /
COPY --from=build-stage /app/jvjr-env.json /
RUN chmod +x /jvjr-entrypoint.sh

EXPOSE 80

ENTRYPOINT [ "/jvjr-entrypoint.sh", "/usr/share/nginx/html/js", "app" ]
CMD ["nginx", "-g", "daemon off;"]
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@

Tested on version
```
Node version: v14.0.7
Node version: v18.17.0
NPM version : v16.14.13
```

### Build locally

```
$ npm install
$ npm run build
$ npm run build:Testnet # build for Testnet
$ npm run build:Mainnet # build for Mainnet
$ npm run gen:cordova-resources
$ npx cordova build/run android/ios # to build Cordova application
$ yarn
$ yarn build
$ yarn build:Testnet # build for Testnet
$ yarn build:Mainnet # build for Mainnet
```

### Develop locally
Expand Down
2 changes: 2 additions & 0 deletions deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo docker build -t pratapmridha/wallet:1 .
sudo docker push pratapmridha/wallet:1
1 change: 0 additions & 1 deletion dist/aepp/aepp.css

This file was deleted.

11 changes: 0 additions & 11 deletions dist/aepp/aepp.html

This file was deleted.

9,746 changes: 0 additions & 9,746 deletions dist/aepp/aepp.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/chrome/07d28775f8c7b583cf59.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/chrome/0cab1c8bbb864e0ac64b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/chrome/467bdff661d9760a9684.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions dist/chrome/assets/claim.79061e095361b9b78115b01ec6e2cea1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bda1d3e

Please sign in to comment.