Skip to content

ggho/fanyau-server

Repository files navigation

#Fanyau API server

Note: Log in to both Firebase and OpenShift's services are registered under findyoursapp@gmail.com, login credentials available in slack's #accounts channel.

Set up locally

  1. clone this git
  2. Go to root directory of the repo (where package.json exists)
  3. Run npm install to install dependencies
  4. Run node server.js to start the server at your localhost, default link: http://localhost:8080/

Deploy to production setup

OpenShift use a git push hook as deployment method. They provide a git server to store the project source, and any push to this git server will trigger a release of the project which is publicly available at http://server-fanyau.rhcloud.com/.

  1. Add your Public SSH key to this console page. (More instructions go here)
  2. Add an extra remote source to this git you cloned earlier: ssh://57cb4a102d5271ad6c0000a9@server-fanyau.rhcloud.com/~/git/server.git/
  3. Push any changes to the git master branch will trigger a release

#Demo

It is available at the OpenShift's free domain: http://server-fanyau.rhcloud.com/ (custom domain is configurable too).

e.g.

About

FanYau API server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published