File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,10 @@ Utility for transfering the coder image to an SD Card
22
22
#### findcoder-appengine
23
23
EXPERIMENTAL: A status server that can be run to help locate multiple Coder devices in a classroom scenario
24
24
25
-
26
-
25
+ ## Installing on resin.io
26
+ 1 . Sign up at https://alpha.resin.io/signup and follow the instructions to install resin on your Rasberry Pi.
27
+ 2 . Push this repository to your resin application.
28
+ 3 . Add an environment variable called PORT and set it to the port you want to access Coder on.
29
+ 4 . Go to https://$(RASPBERY_PI_IP):$(PORT)
30
+ 5 . ???
31
+ 6 . PROFIT
Original file line number Diff line number Diff line change 1
1
2
2
exports . listenIP = null ; //Defaults to *
3
- exports . listenPort = '8081' ; //the SSL port things run on
3
+ exports . listenPort = process . env . PORT ; //the SSL port things run on
4
4
exports . httpListenPort = '8080' ; //this will all be redirected to SSL
5
5
exports . cacheApps = true ;
6
6
exports . httpVisiblePort = '80' ; //forwarded http port the user sees
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ cd coder-base
3
+ npm install
4
+ cd ../coder-apps
5
+ ./install_common.sh ../coder-base
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " resin-coder" ,
3
+ "description" : " resin compatible google-coder" ,
4
+ "version" : " 0.0.1" ,
5
+ "private" : true ,
6
+ "scripts" : {
7
+ "preinstall" : " bash install.sh" ,
8
+ "start" : " cd coder-base && node server.js"
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments