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 ce201ec commit 8cee7af
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Minimal Requirements


1. SBT Version 1.1.0
2. IntelliJ IDEA 2017.3.4 (for editing)

## Backend Setup

1. Clone repository
2. `cd backend`
3. `sbt run`

## 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`

## 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`
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 8cee7af

Please sign in to comment.