Some improvements for repository users
This commit is contained in:
parent
7864cc6467
commit
bd188a02bc
3 changed files with 24 additions and 4 deletions
12
README.md
12
README.md
|
|
@ -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"
|
||||
|
||||
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
2
requirements.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
flask
|
||||
peewee
|
||||
|
|
@ -3,6 +3,14 @@
|
|||
import sys
|
||||
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
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = argparse.parse_args()
|
||||
create_tables()
|
||||
app.run()
|
||||
app.run(port=args.port)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue