Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/macdja38/ryke
Hack the wall competition entry
https://github.com/macdja38/ryke
Last synced: 28 days ago
JSON representation
Hack the wall competition entry
- Host: GitHub
- URL: https://github.com/macdja38/ryke
- Owner: macdja38
- License: gpl-3.0
- Created: 2016-11-19T15:52:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T17:56:34.000Z (almost 8 years ago)
- Last Synced: 2024-10-22T09:52:54.499Z (3 months ago)
- Language: HTML
- Size: 17.4 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ryke
Hack the wall competition entry## Setup
### Web-server:
1. apache/nginx or similar: serve static files, must be setup to serve contents of the root directory with .js and .html endings as well as everything in the resources directory
2. node.js: Hosts the wss server.
Example Ngnix config file
```
server {
listen 80;
listen [::]:80;server_name ryke.xyz; #domain name
location / {
# expires 1d;
alias /var/www/ryke/; #path to project root
}location /socket.io {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
}server {
listen 443 ssl http2;
listen [::]:443 ssl http2;ssl on;
ssl_certificate #path to certificate chain
ssl_certificate_key #path to certificate keyssl_ciphers #cipher list
ssl_protocols #protocal listserver_name ryke.xyz; # domain name
location / {
# expires 1d;
alias /var/www/ryke/; #Path to project root
}location /socket.io {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
}
```### Web-socket server installation instructions:
1. enter the `server` directory using windows command prompt or linux terminal
2. execute `npm install`
3. execute `node server.js` (pm2 is highly recommended for production environments.)### Web-browser
Must support es6, latest version of chrome and firefox have been tested for comparability.