Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 570 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 570 Bytes

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.