Created
August 1, 2012 21:38
-
-
Save diorahman/3230990 to your computer and use it in GitHub Desktop.
Kite Setup
This file contains hidden or 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
**PAGE KITE** | |
1. ON THE SERVER | |
-> set the frontend, maybe you'll need screen or upstart | |
$ screen -list | |
$ screen | |
On the server | |
root@rezafaisal:~/kite# ./pagekite.py --clean --isfrontend --ports=12345 --domain=http:beta.kertasapp.com:dio10201 | |
>>> Hello! This is pagekite.py v0.5.2d. [CTRL+C = Stop] | |
This is a PageKite front-end server. | |
- Listening on *:12345 | |
Connecting to front-end x.x.x.x:x ... | |
~<> Flying: http://beta.kertasapp.com/ | |
<< pagekite.py [flying] Kites are flying and all is well. | |
2. LOCALHOST (THE APPLICATION HOST) | |
-> localhost | |
./pagekite.py --clean --frontend=http:http:beta.kertasapp.com:12345 --service_on=http:beta.kertasapp.com:localhost:8000:dio10201 | |
service running on port 8000 | |
*upstart example http://kevin.vanzonneveld.net/techblog/article/run_nodejs_as_a_service_on_ubuntu_karmic/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On windows, you need to install python, and run the command as
The pagekite.py can be downloaded from: https://pagekite.net/downloads/