-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME.txt
33 lines (27 loc) · 1.27 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
How to Access (publicly):
- connect to Cornell's WiFi Network (i.e. eduroam)
- navigate to the address `http://vellanki-web.coecis.cornell.edu/` in Chrome
How to Run (locally):
Install Dependencies:
- `opam install ounit yojson cohttp async lwt js_of_ocaml`
- `brew install node`
(dependent 'node_modules' are packaged into the submission for simplicity
so there is no need for an `npm install` command)
* use `opam update` and `opam upgrade` to fix unbound value compile errors
Obtain Host IP Address:
- `ifconfig`
- record the 'inet' address that is not '127.0.0.1' (localhost)
(should be of the form 10.X.X.X or 192.168.X.X)
Compile (all `cd` commands are with respect to the main project directory):
- `cd public/js`
- `make` (use `make clean` then `make` to rebuild if necessary)
- `cd server`
- `make` (use `make clean` then `make` to rebuild if necessary)
Run (all `cd` commands are with respect to the main project directory):
- `cd server`
- `./server.byte`
- open a new Terminal tab
- `npm start` (from the main project directory)
- enter your password
- navigate to the 'inet' address in Chrome (this is the URL to access the
web application from other machines on the same WiFi network)