-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |