Some improvements for repository users

This commit is contained in:
Yusur 2019-10-09 21:08:10 +02:00
parent 7864cc6467
commit bd188a02bc
3 changed files with 24 additions and 4 deletions

View file

@ -1,5 +1,15 @@
# coriplus # Cori+
A simple social network, inspired by the now dead Google-Plus.
To run the app, run the file "run_example.py" To run the app, run the file "run_example.py"
Based on Tweepee example of [peewee](https://github.com/coleifer/peewee/). Based on Tweepee example of [peewee](https://github.com/coleifer/peewee/).
## Features
* Create text statuses, optionally with image
* Follow users
* Timeline feed
* In-site notifications
* SQLite-based app

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
flask
peewee

View file

@ -3,6 +3,14 @@
import sys import sys
sys.path.insert(0, '../..') sys.path.insert(0, '../..')
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-p', '--port', type=int, default=5000,
help='An alternative port where to run the server.')
from app import app, create_tables from app import app, create_tables
if __name__ == '__main__':
args = argparse.parse_args()
create_tables() create_tables()
app.run() app.run(port=args.port)