Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
78a12a08
Commit
78a12a08
authored
Jun 02, 2023
by
ardiansyah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Staging
parent
5ca5dfd2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
.env_staging
.env_staging
+4
-0
package.json
package.json
+4
-0
Constant.js
src/library/Constant.js
+2
-0
No files found.
.env_staging
0 → 100644
View file @
78a12a08
// contents of .env
REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-staging
REACT_APP_URL_MAIN_FE=/web
\ No newline at end of file
package.json
View file @
78a12a08
...
...
@@ -55,14 +55,18 @@
"start"
:
"react-scripts start"
,
"build"
:
"react-scripts --max_old_space_size=8192 build"
,
"build_dev"
:
"copy .env_dev .env && react-scripts --max_old_space_size=8192 build"
,
"build_staging"
:
"copy .env_staging .env && react-scripts --max_old_space_size=8192 build"
,
"build_prod"
:
"copy .env_prod .env && react-scripts --max_old_space_size=8192 build"
,
"build_dev_linux"
:
"cp .env_dev .env && react-scripts --max_old_space_size=8192 build"
,
"build_staging_linux"
:
"cp .env_staging .env && react-scripts --max_old_space_size=8192 build"
,
"build_prod_linux"
:
"cp .env_prod .env && react-scripts --max_old_space_size=8192 build"
,
"test"
:
"react-scripts test"
,
"eject"
:
"react-scripts eject"
,
"dev"
:
"copy .env_dev .env && react-scripts start"
,
"staging"
:
"copy .env_staging .env && react-scripts start"
,
"prod"
:
"copy .env_prod .env && react-scripts start"
,
"dev_linux"
:
"cp .env_dev .env && react-scripts start"
,
"staging_linux"
:
"cp .env_staging .env && react-scripts start"
,
"prod_linux"
:
"cp .env_prod .env && react-scripts start"
},
"eslintConfig"
:
{
...
...
src/library/Constant.js
View file @
78a12a08
...
...
@@ -4,9 +4,11 @@ const Constant = {
EMAIL
:
'TOKEN'
,
PASSWORD
:
'PASSWORD'
,
URL_BE_DEV
:
'${process.env.REACT_APP_URL_MAIN_BE}'
,
URL_BE_STAGING
:
'https://tia.eksad.com/tia-reporting-staging'
,
URL_BE_DEMO
:
'https://tia.eksad.com/tia-reporting-demo'
,
URL_BE_PROD
:
'https://dashboard.triputra-group.com/tia-reporting'
,
URL_FE_DEV
:
'https://tia.eksad.com/tia-web-dev'
,
URL_FE_STAGING
:
'https://tia.eksad.com/tia-web-staging'
,
URL_FE_DEMO
:
'https://tia.eksad.com/tia-web-demo'
,
URL_FE_PROD
:
'https://dashboard.triputra-group.com/tia-web'
,
DATACAT
:
'datacat'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment