File tree 4 files changed +2
-6
lines changed
4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ npm install
39
39
40
40
1 . copy the environment file in docs/dev.env to /.env
41
41
42
- 1 . add ` 127.0.0.1 local.topcoder-dev.com ` to your /etc/hosts file
43
-
44
42
1 . If you are using local instances of the API's, change the DEV_API_HOSTNAME in configs/constants/development.js to match your local api endpoint.
45
43
- For example change it to 'http://localhost:3000/ ',
46
44
@@ -50,7 +48,7 @@ npm install
50
48
npm run dev
51
49
```
52
50
53
- You can access the app from [ http://local.topcoder-dev.com:3001 / ] ( http://local.topcoder-dev.com:3001 / )
51
+ You can access the app from [ http://localhost:3000 / ] ( http://localhost:3000 / )
54
52
55
53
The page will reload if you make edits.
56
54
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ module.exports = {
7
7
COMMUNITY_APP_URL : `https://www.${ DOMAIN } ` ,
8
8
MEMBER_API_URL : `${ DEV_API_HOSTNAME } /v4/members` ,
9
9
MEMBER_API_V3_URL : `${ DEV_API_HOSTNAME } /v3/members` ,
10
- DEV_APP_URL : `http://local.${ DOMAIN } ` ,
11
10
CHALLENGE_API_URL : `${ DEV_API_HOSTNAME } /v5/challenges` ,
12
11
CHALLENGE_TIMELINE_TEMPLATES_URL : `${ DEV_API_HOSTNAME } /v5/timeline-templates` ,
13
12
CHALLENGE_TYPES_URL : `${ DEV_API_HOSTNAME } /v5/challenge-types` ,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ module.exports = {
7
7
COMMUNITY_APP_URL : `https://www.${ DOMAIN } ` ,
8
8
MEMBER_API_URL : `${ PROD_API_HOSTNAME } /v4/members` ,
9
9
MEMBER_API_V3_URL : `${ PROD_API_HOSTNAME } /v3/members` ,
10
- DEV_APP_URL : `https://submission-review.${ DOMAIN } ` ,
11
10
CHALLENGE_API_URL : `${ PROD_API_HOSTNAME } /v5/challenges` ,
12
11
CHALLENGE_TIMELINE_TEMPLATES_URL : `${ PROD_API_HOSTNAME } /v5/timeline-templates` ,
13
12
CHALLENGE_TYPES_URL : `${ PROD_API_HOSTNAME } /v5/challenge-types` ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ checkBrowsers(paths.appPath, isInteractive)
99
99
clearConsole ( )
100
100
}
101
101
console . log ( chalk . cyan ( 'Starting the development server...\n' ) )
102
- openBrowser ( constants . DEV_APP_URL ? ` ${ constants . DEV_APP_URL } : ${ process . env . PORT || 3000 } ` : urls . localUrlForBrowser )
102
+ openBrowser ( urls . localUrlForBrowser )
103
103
} )
104
104
105
105
const SIGNALS = [ 'SIGINT' , 'SIGTERM' ]
You can’t perform that action at this time.
0 commit comments