Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 714 Bytes

File metadata and controls

28 lines (23 loc) · 714 Bytes

ttlock_admin_panel

How to run the application

  1. create an account at https://open.ttlock.com/reg
  2. create an application. The application needs to be reviewed. After it is reviewed, all the APIs are available.
  3. Create config.ini file that contain:
[ttlock_admin_panel]
client_id = 
client_secret = 
redirect_uri =
  1. Use the package manager pip to install requered packages.
python -m pip install -r requrements.txt
  1. Run following command to start flask
export FLASK_APP=ttlock_admin_panel
export FLASK_DEBUG=1
python -m flask run

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.