z954134 / bypyoauth

The OAuth relay server for bypy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the source code of the bypy OAuth relay server

This is actually quite simple. To run it:

  • Install prerequisites (once only)
pip install -r requirements.txt
  • Config environments
export BAIDU_API_KEY=<baidu-pcs-client-id>
export BAIDU_API_SECRET=<baidu-pcs-client-secret>
export PORT=<the port to listen to>
  • Run gunicorn --bind localhost:8080 app:app

That's it.

NOTE

Profile, Procfile.windows, runtime.txt are for Heroku deployment only, you can ignore them.

About

The OAuth relay server for bypy

License:Apache License 2.0


Languages

Language:Python 100.0%