piku/examples/nodejs-wisp
Rui Carmo 4e6187ad31 renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
..
ENV renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
Procfile renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
README.md renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
hello.wisp Added example for running wisp app. (#55) 2019-07-07 12:07:49 +01:00
index.html renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
index.wisp Added example for running wisp app. (#55) 2019-07-07 12:07:49 +01:00
package.json renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00

README.md

Nodejs + Wisp Sample Application

This example demonstrates using wisp, a 3rd party npm installed binary to run scripts.

It is otherwise identical to the node example.

To publish this app to piku, make a copy of this folder and run the following commands:

git init .
git remote add piku piku@your_server:wispchat
git add .
git commit -a -m "initial commit"
git push piku master

Then you can set up an SSL cert and connect a domain by setting config variables like this:

ssh piku@your_server config:set wispchat NGINX_SERVER_NAME=your_server NGINX_HTTPS_ONLY=1

Then visit the site your_server and you will see a simple websocket chat application.