Originally released in the third border of the Institute szhshp , please indicate
background story
Background story is very simple, I just like Disqus, did not want to use other comment box.
Early open source service, a proxy to Disqus: Disqus-Proxy
However, because the server is a proxy, it is necessary to require a server to be able to achieve, and requires the server can access the master Disqus.
And today, using Now you can achieve the perfect service.
Without any reverse proxy server can be set up Disqus service.
Now
Now is a Global Serverless Deployment of the site, you can achieve 5K times daily free invoke.
Now use the basic reference another article Post: Now.sh: best Serverless Deployment Dashboard
Now deploy Disqus Proxy service ended
After installation Now login:
now login
He should send a message to you, and then click Mail from inside verification can log.
We then clone written repo:
git clone https://github.com/szhielelp/disqus-proxy
cd disqus-proxy
cd server
All the configurations wrote now.json inside, so it wants to deploy directly
now --name Disqus-Proxy
ZEIT then to their side of the Dashboard: https://zeit.co/dashboard
Should be able to see a service called Disqus-Proxy has been deployed, he will give you assign a domain name:
https://disqus-proxy-szhshpdev.szhshpdev.now.sh/
Then you can add the alias to him, such as writing a number of simple
https://disqus-proxy-szhshp.now.show
You can try to access '/ api / listPosts' If you can get a list of recent comments that will be successful:
https://disqus-proxy-szhshpdev.szhshp1.now.sh/api/listPosts
Client Deployment
Above so difficult to deploy staff you are doing a good job, I do not want to write a client. O ( ¯)¯ ) O
Github point of view directly to the use of guidance it: Disqus-Proxy