Skip to content

Fallball is an imaginary file sharing solution that was designed to help developers to learn APS technology.

Notifications You must be signed in to change notification settings

thefactremains/fallball-connector

Repository files navigation

Fallball connector

This is a basic sample connector for the Fallball Cloud Storage.

Build Status Coverage Status

Running on localhost with tunnel

  • Download and unzip fallball-connector

  • Install package and requirements for local development

python setup.py develop
  • Update config.json file with your credantials
{
    "fallball_service_url": "PUT_HERE_FALLBALL_SERVICE_URI",
    "fallball_service_authorization_token": "PUT_HERE_FALLBALL_SERVICE_AUTHORIZATION_TOKEN",
    "oauth_key": "PUT_HERE_OAUTH_KEY",
    "oauth_signature": "PUT_HERE_OAUTH_SIGNATURE"
}
  • Run application
$ python connector/app.py
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
  • Create HTTP tunnel with ngrok
ngrok http 5000

If you run connector without SSL behind SSL-enabled reverse proxy, make sure that proxy populates the X-Forwarded-Proto header.

Running in Docker

docker-compose up

Application is started in debug mode in docker container on port 5000.

Development

  • Run unit tests
python setup.py nosetests

About

Fallball is an imaginary file sharing solution that was designed to help developers to learn APS technology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published