Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrdlt committed Feb 18, 2018
1 parent 9f89459 commit af9c727
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@
## Frontend Setup

1. Clone repository
2. `cd frontend`
3. `yarn install`
4. `sbt ~fastOptJS` (hint `sbt clean run`)
5. `npm run start`
6. Open in browser `http://localhost:8080`
2. `cd fe`
3. `cd frontend`
4. `yarn install`
5. `sbt fastOptJS` (hint `sbt clean run`)
6. `npm run start`
7. Open in browser `http://localhost:8080`

## Access locally running server and website from mobile device

1. Find out your local IP adress
2. open `frontend/package.json` and edit `"scripts": { "mobile": "API_HOST=...:5000` to `API_HOST=yourlocalIPadress:5000`
3. `sbt ~fastOptJS`
3. `sbt fastOptJS`
4. `npm run mobile`
5. Open your mobile browser and go to `yourlocalIPadress:8080` (you might have to disable firewall first)

0 comments on commit af9c727

Please sign in to comment.