Skip to content

Tsinglan-Coding-Club/TLS-SoundboxBooking

Repository files navigation

SoundboxBooking

This repository refers to TLS Soundbox Booking Project

MySQL Configuration

Create user "soundbox" with corresponding password:

username: soundbox
password: V1an1337
host: localhost

Run SoundboxBooking

Install python libraries:

pip -r requirements.txt

If you already installed python2, use:
pip3 -r requirements.txt

Initialise the database:

python init_db.py

Test:

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

Ms-identity-python-webapp-master

这个文件夹是一个单独的Microsoft graph登录示例,appID和Key已经包含在配置文件中,下载可以直接用。
启动服务器

python app.py

然后访问http://localhost:5000

  • 注意!SoundboxBooking server不可以和Ms-identity-python-webapp-master一起启动!(因为共用5000端口)

About

TLS Soundbox Booking Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published