Skip to content

Commit 5c5be62

Browse files
committed
Edited README with installation instructions.
1 parent 2ae86bf commit 5c5be62

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# How to Install
2+
1. Clone the repository, and run `flutter pub get` within the cloned directory in cmd.
3+
2. Open the server folder, and run `npm install` within the directory in cmd.
4+
3. In the same server folder, run `npm start` in cmd. This starts the NodeJS GraphQL middle layer.
5+
4. Open a new terminal, and run the `ipconfig` command. Copy the IPv4 address (this is local to your LAN network).
6+
5. Within the cloned Arena directory, navigate to `Arena/lib/client.dart`. Here, edit the URI of the HttpLink from `http://10.0.0.213:4000/` to `http://{YOUR URI FROM STEP 4}:4000/`. (**This is extremely important because android emulator does not understand the meaning of localhost.**)
7+
6. Finally, navigate to the `lib/` folder and type `flutter run`. The app should be working.
8+
9+
10+
If you have any questions about this process, please contact Mihir Thanekar at `mihirthanekar@gmail.com`.
11+
112
# Arena Sport
213
![license](https://img.shields.io/badge/license-MIT-green?style=flat-square)
314
Arena Sport open-source Flutter challenge.

0 commit comments

Comments
 (0)