Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wanghan0501/chuangxianghui
创享汇扫码评论项目
https://github.com/wanghan0501/chuangxianghui
Last synced: 3 days ago
JSON representation
创享汇扫码评论项目
- Host: GitHub
- URL: https://github.com/wanghan0501/chuangxianghui
- Owner: wanghan0501
- Created: 2017-12-27T06:20:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T02:02:37.000Z (almost 2 years ago)
- Last Synced: 2024-05-14T03:34:45.312Z (6 months ago)
- Language: HTML
- Size: 1.08 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shuzhifenxiang(孰知分享)
## Introduction
- Scan QR code and get a random comment.
- Manage comments and statistic visit times.## Effect
- From PC![PC](http://p0zok30am.bkt.clouddn.com/18-1-1/80742177.jpg)
- From Phone
![phone](http://p0zok30am.bkt.clouddn.com/18-1-1/49591576.jpg)
## Environment
- Language:Python3
- Web framework:Flask
- Database: Sqlite## Quick Use
If you want to use this without docker, you can following below:
```bash
python3 manage.py
```
### Change PortDefault port: `5000`
If you want to change the default port, please set the port which you want to the following statement.
```python
app.run(debug=False, port=5000, host='0.0.0.0', threaded=True)
```### Manage comments
If you want to manage comments, please visit `http://localhost:5000`
- Default account: `shuzhifenxiang`
- Default password: `123456`## Development
1. develop project by docker
```bash
docker build -t "wanghan0501/flask:chuangxianghui" .
```
2. run docker
```
docker run -it -p 80:5000 --name shuzhifenxiang wanghan0501/flask:chuangxianghui
```
3. control docker with running
- Go into the existing docker.
```Control+C``` will kill the docker.
```
docker attach chuangxianghui
```
- Start a new terminal.
```Control+C``` will not kill the docker.
```
docker exec -it shuzhifenxiang /bin/bash
```## Contact Me
If you have some questions about this project, please contact me.
[[email protected]](mailto:[email protected])