Skip to content

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

License

Notifications You must be signed in to change notification settings

maxkuzkin/fallball-connector

 
 

Repository files navigation

Fallball connector

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

Build Status codecov

Running on localhost with tunnel

  • Download and unzip fallball-connector

  • Install package and requirements for local development

python setup.py develop
  • Update config.yml file with your credentials
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_secret: PUT_HERE_OAUTH_SECRET
  • 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 the 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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.5%
  • API Blueprint 4.3%
  • Shell 0.2%