Skip to content

Commit fa5bce9

Browse files
committed
chore: don't use local.topcoder-dev.com domain
it's not supported by Auth module when using locally anymore, we should use "localhost"
1 parent de056c3 commit fa5bce9

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ copilots take it from there.
1010

1111
## Run locally for development
1212

13-
Prior to running the application locally you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder-dev.com`.
14-
1513
- `$ npm install` - Installs all dependencies.
1614
- `$ npm start` - Run application in development mode against Topcoder development environment using [dev](https://github.com/appirio-tech/connect-app/blob/dev/config/constants/dev.js) config. In this case the frontend is build in memory by webpack server and uses dev tools like redux-logger.
1715

18-
Open browser with URL http://local.topcoder-dev.com:3000.
16+
Open browser with URL http://localhost:3000.
1917

2018
## NPM commands
2119

docs/LocalSetup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The message service will be started at 8001 port.
2929
Login to postgres either by install psql locally, or entering the postgres docker container:
3030

3131
```shell
32-
psql messages coder -h local.topcoder-dev.com
32+
psql messages coder -h localhost
3333
```
3434

3535
And execute the following statement:
@@ -46,4 +46,4 @@ INSERT INTO "referenceLookups" (reference, endpoint, "createdAt", "updatedAt") V
4646
CONNECT_MESSAGE_API_URL=http://localhost:8001 npm start
4747
```
4848

49-
The connect app will be started at 3000 port.
49+
The connect app will be started at 3000 port.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.0",
44
"description": "Customer pages in React and Redux",
55
"scripts": {
6-
"start": "webpack-dev-server --history-api-fallback --env=development --hot --inline --progress --port 3000 --host 0.0.0.0 --public local.topcoder-dev.com",
6+
"start": "webpack-dev-server --history-api-fallback --env=development --hot --inline --progress --port 3000 --host 0.0.0.0",
77
"build": "npm rebuild node-sass; ./node_modules/.bin/webpack --bail --progress --colors --env=production",
88
"lint": "eslint --format table --ext .js,.jsx .",
99
"lint:fix": "eslint --fix --format table --ext .js,.jsx .",

0 commit comments

Comments
 (0)