This repository refers to TLS Soundbox Booking Project
Create user "soundbox" with corresponding password:
username: soundbox
password: V1an1337
host: localhost
Install python libraries:
pip -r requirements.txt
If you already installed python2, use:
pip3 -r requirements.txt
Initialise the database:
python init_db.py
Add test data and run the server (It will automatically add data of future weekdays):
python server.py
Deploy on localhost:
Enter N when the program ask you to choose HTTP/HTTPS
Deploy on server:
Enter Y to enable HTTPS and change fullchain.pem & privkey.key into your own website certificate
Then use apifox to test APIs
这个文件夹是一个单独的Microsoft graph登录示例,appID和Key已经包含在配置文件中,下载可以直接用。
启动服务器
python app.py
- 注意!SoundboxBooking server不可以和Ms-identity-python-webapp-master一起启动!(因为共用5000端口)