Skip to content

chetbox/boopjs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

boop.js web

Source code for boopjs.com - a place for scripting Android apps in the cloud.

Example: Testing search in the JustEat app

More examples

Setup

cp server/config/default.json server/config/debug.json

Edit server/config/debug.json and supply the necessary information. You will need keys for:

  • A GitHub app
  • Amazon S3
  • Amazon DyanmoDB
  • Appetize.io

(Optional) You can run a local version of DynamoDB instead of one hosted by Amazon by installing dynamodb-local and using it in your config with no authentication like so:

  "dynamodb": {
    "endpoint": "http://localhost:8000"
  }

Create a docker image

docker build . -t chetbot

How to run

Run a container with the docker image you just created, making your configuratin available as a volume and make the HTTP port accessible on 8080:

docker run -e NODE_ENV=debug -v $PWD/server/config:/opt/chetbot/server/config -p 8080:80 -d chetbot

Then point your browser at http://localhost:8080