Skip to content

Commit

Permalink
update readme; port moved to .env file (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
same-page-chat authored and Archi-tech committed Sep 23, 2019
1 parent 87b7fd0 commit 526d644
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -34,13 +34,15 @@ First, run the chat box app

```
cd client/chatbox
npm install .
npm start
```

The first time you run this will be slower, because it needs to install all the packages needed. The chat box will be running on localhost:3000, but the chat box is not designed to be used by itself, instead, it must be used in an iframe. So the next thing you need to do is to run the injection script app.

```
cd client/injection-script
npm install .
npm start
```

Expand Down
3 changes: 2 additions & 1 deletion client/chatbox/.env
@@ -1,2 +1,3 @@
NODE_PATH=src
INLINE_RUNTIME_CHUNK=false
INLINE_RUNTIME_CHUNK=false
PORT=3000
4 changes: 2 additions & 2 deletions client/chatbox/package.json
Expand Up @@ -23,8 +23,8 @@
"videojs-youtube": "^2.6.0"
},
"scripts": {
"start-ssl": "export HTTPS=true&&PORT=3000 react-scripts start",
"start": "PORT=3000 react-scripts start",
"start-ssl": "export HTTPS=true react-scripts start",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject-nonono": "react-scripts eject",
Expand Down

0 comments on commit 526d644

Please sign in to comment.