-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
803 additions
and
778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
NODE_ENV=development | ||
VUE_APP_API_URI=http://localhost:14000/v1/ | ||
VUE_APP_OAUTH_ENABLED=true | ||
VUE_APP_GA_ENABLED=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
NODE_ENV=production | ||
VUE_APP_API_URL=https://api.better-call.dev | ||
VUE_APP_NODE_RPC=https://rpc.tzkt.io | ||
VUE_APP_PRIVATE=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
NODE_ENV=development | ||
VUE_APP_API_URL=https://api.better-call.dev | ||
VUE_APP_NODE_RPC=https://rpc.tzkt.io | ||
VUE_APP_PRIVATE=1 | ||
VUE_APP_OAUTH_ENABLED=true | ||
VUE_APP_GA_ENABLED=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM node:latest AS base | ||
FROM node:latest AS build | ||
WORKDIR /better-call-dev | ||
ADD . . | ||
RUN npm i | ||
RUN npm run build | ||
COPY . . | ||
RUN npm i && npm run build | ||
|
||
|
||
FROM nginx:latest AS release | ||
COPY --from=base /better-call-dev/dist /usr/share/nginx/html/ | ||
COPY default.conf /etc/nginx/conf.d/default.conf | ||
WORKDIR /usr/share/nginx/html/ | ||
COPY --from=build /better-call-dev/dist ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
|
||
location / { | ||
try_files $uri /index.html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"API_URI": "http://localhost:14000/v1/", | ||
"NETWORKS": ["sandboxnet"], | ||
"OAUTH_ENABLED": false, | ||
"GA_ENABLED": false, | ||
"HOME_PAGE": "projects", | ||
"RPC_ENDPOINTS": { | ||
"sandboxnet": "http://localhost:8732" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"API_URI": "https://api.better-call.dev/v1/", | ||
"NETWORKS": ["mainnet", "carthagenet", "zeronet", "babylonnet"], | ||
"OAUTH_ENABLED": false, | ||
"GA_ENABLED": true, | ||
"HOME_PAGE": "home", | ||
"RPC_ENDPOINTS": { | ||
"mainnet": "https://rpc.tzkt.io/mainnet", | ||
"carthagenet": "https://rpc.tzkt.io/carthagenet", | ||
"zeronet": "https://rpc.tzkt.io/zeronet", | ||
"babylonnet": "https://rpc.tzkt.io/babylonnet" | ||
}, | ||
"TZKT_ENDPOINTS": { | ||
"mainnet": "https://tzkt.io/", | ||
"carthagenet": "https://carthage.tzkt.io/", | ||
"zeronet": "https://zeronet.tzkt.io/", | ||
"babylonnet": "https://babylon.tzkt.io/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.