Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

cachewatch/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CacheWatch

This is a server with creates a cache form HTML by account in bitcoin. Look the API.

Why down the service?

The main reasons are

  • The apps isomeptrics
  • The project did not receive profits

A donations in bitcoin 1BhBb3rKHSQPRjPjuPj46xX24RUPQn3hRm

Requisites

Bat use OpenShift or install

Tecnology

  • Angular (v1.*)
  • SASS (SCSS)
  • Browserify
  • Jade (Now PUG)
  • ExpressJs
  • MongooseJs
  • PassportJs
  • MarkDown
  • MomentJs
  • UglifyJs
  • vHost (For ExpressJs)

Environment Variables

Put the settings the server.

Var Type Requiere Description
CACHE_WATCH String YES The name of of the hearder Eg. x-cache-watch
COMPRESS_CSS Boolean NO Compress the CSS
COMPRESS_JS Boolean NO Compress the JavaScript in browers
HTTPS_ACTIVE Boolean NO Use Https
BITCOIN_MASTER String YES Bitcoin account master
BLOCKCHAIN_ID String YES Id form the BlockChain
BLOCKCHAIN_SECRET1 String YES Password principal form the BlockChain
BLOCKCHAIN_SECRET2 String YES Password secondary form the BlockChain
GITHUB_ID String YES Id form app in Github
GITHUB_SECRET String YES Secreet form app in Github
OPENSHIFT_APP_DNS String NO The fully-qualified domain namespace of the application OpenShift
OPENSHIFT_APP_NAME String YES The name of the application OpenShift
OPENSHIFT_APP_UUID String YES The UUID of the application OpenShift
OPENSHIFT_DATA_DIR String NO A persistent data directory OpenShift
IS_FREE Number NO The number free pages :D
IS_MAX Number NO Is the max number cache for the service
KONSTANT Number NO How many per page in the cache in Bitcoin Eg. 0.00001
LANG_BASIC String YES Language principal Eg. en
OPENSHIFT_MONGODB_DB_HOST String YES The host name or IP address used to connect to the mongodb OpenShift
OPENSHIFT_MONGODB_DB_PORT Number YES The host name or port used to connect to the mongodb OpenShift
OPENSHIFT_NODEJS_IP String YES The host name or IP address used to connect to the nodejs OpenShift
OPENSHIFT_NODEJS_PORT Number YES The host name or port used to connect to the nodejs OpenShift
PUBLIC_DATA String NO Is the temporal files
URL_DOMAIN String YES Is the website Eg. cache.watch
URL_SERVICE String YES Is the API Eg. service.cache.watch

Install and Start

Is simple

$ npm install

And start

$ npm start