Skip to content

Commit d3b1a37

Browse files
authored
Merge pull request #473 from OpenSignLabs/staging
v1.3.0-beta
2 parents 4718c65 + 73c219f commit d3b1a37

File tree

177 files changed

+13627
-31822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+13627
-31822
lines changed

.env.example

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
# Frontend config ************************************************************************************************************************************************************************************************
2-
# Set CI to false while running the app locally
3-
CI=false
2+
43
# Set it to the URL form where the app home page will be accessed
54
PUBLIC_URL=https://app.opensignlabs.com/
65
# Set it to true if you want to generate the Sourcemap for debugging
76
GENERATE_SOURCEMAP=false
87
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
98
REACT_APP_SERVERURL=https://app.opensignlabs.com/api/app
109
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
11-
REACT_APP_APPID=aDsADsqweqwe
10+
REACT_APP_APPID=opensign
1211
# Google tag manager container id for configuring GTM on all pages of the app
1312
REACT_APP_GTM=GTM-123N7LD
1413

1514
# Backend ExpressJS config ****************************************************************************************************************************************************************************************
1615
# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App.
17-
APP_ID=aDsADsqweqwe
16+
APP_ID=opensign
1817
# Name of the app. It will be visible in the verification emails sent out.
1918
appName=open_sign_server
2019
# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database.

.env.frontend_dev

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
# When used as it is, this env config will connect to our hosted UAT backend
33
# Note that any data in staging will get cleared from time to time and you may have to sign up again and again
44

5-
# Set CI to false while running the app locally
6-
CI=false
75
# Set it to the URL form where the app home page will be accessed
86
PUBLIC_URL=http://localhost:3000
97
# Set it to true if you want to generate the Sourcemap for debugging
108
GENERATE_SOURCEMAP=false
119
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
1210
REACT_APP_SERVERURL=https://staging-app.opensignlabs.com/api/app
1311
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
14-
REACT_APP_APPID=opensignstgn
12+
REACT_APP_APPID=opensign

.env.local_dev

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@
22
# When used as it is, this env config will connect to our hosted UAT backend
33
# Note that any data in staging will get cleared from time to time and you may have to sign up again and again
44

5-
# Set CI to false while running the app locally
6-
CI=false
75
# Set it to the URL form where the app home page will be accessed
86
PUBLIC_URL=http://localhost:3000
97
# Set it to true if you want to generate the Sourcemap for debugging
108
GENERATE_SOURCEMAP=false
119
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
1210
REACT_APP_SERVERURL=http://localhost:8080/app
1311
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
14-
REACT_APP_APPID=opensignstgn
12+
REACT_APP_APPID=opensign
1513

1614

1715
# Backend ExpressJS config ****************************************************************************************************************************************************************************************
1816
# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App.
19-
APP_ID=opensignstgn
17+
APP_ID=opensign
2018
# Name of the app. It will be visible in the verification emails sent out.
2119
appName=open_sign_server
2220
# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database.

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
build:
22
cp .env.local_dev .env
3-
rm -rf apps/OpenSign/public/mfbuild
4-
cd microfrontends/SignDocuments && npm install && npm run build
3+
cd apps/OpenSign && npm install && npm run build
54
docker compose up --build --force-recreate
65

76
run:

apps/OpenSign/Dockerhubfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ RUN npm install
1212

1313
# Copy the current directory contents into the container
1414
COPY apps/OpenSign/ .
15-
COPY microfrontends/ .
1615
COPY apps/OpenSign/.husky .
1716

1817
# Make port 3000 available to the world outside this container

apps/OpenSign/moduleFederation.config.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)