https://github.com/zhuorantan/library
A library management system built with Flask, SQLAlchemy and Bootstrap
https://github.com/zhuorantan/library
alchemy bootstrap flask library-management python3
Last synced: 2 months ago
JSON representation
A library management system built with Flask, SQLAlchemy and Bootstrap
- Host: GitHub
- URL: https://github.com/zhuorantan/library
- Owner: zhuorantan
- License: mit
- Created: 2018-05-13T15:28:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T02:52:24.000Z (about 8 years ago)
- Last Synced: 2024-10-18T05:56:52.595Z (over 1 year ago)
- Topics: alchemy, bootstrap, flask, library-management, python3
- Language: HTML
- Homepage:
- Size: 2.02 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Library
### A library management system built with Flask, SQLAlchemy and Bootstrap
# Run
```shell
python main.py
```
To populate example data, uncomment the following line in `main.py`
```python
populate_data()
```
# Gmail
To enable the email notification via Gmail API, follow this [instruction](https://developers.google.com/gmail/api/quickstart/python) and uncomment the following two lines in `main.py`
```python
...
from gmail import send_email
...
send_email(reservation.reader.email, '您预约的书《%s》可借了' % book.cip.book_name, message)
...
```
# [License](LICENSE)