Let's use the name of the app for the app.
4
run.py
@ -1,5 +1,3 @@
|
|||||||
#! /usr/bin/env python
|
from xppl import app, socketio
|
||||||
|
|
||||||
from app import app, socketio
|
|
||||||
|
|
||||||
socketio.run(app, host='0.0.0.0', port=8080)
|
socketio.run(app, host='0.0.0.0', port=8080)
|
||||||
|
@ -30,4 +30,4 @@ socketio = SocketIO(app)
|
|||||||
|
|
||||||
app.config.from_object(__name__)
|
app.config.from_object(__name__)
|
||||||
|
|
||||||
from app import views # noqa
|
from xppl import views # noqa
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -1,4 +1,4 @@
|
|||||||
from app.models import Author
|
from xppl.models import Author
|
||||||
from flask_wtf import FlaskForm
|
from flask_wtf import FlaskForm
|
||||||
from wtforms import FieldList, FileField
|
from wtforms import FieldList, FileField
|
||||||
from wtforms import Form as NoCsrfForm
|
from wtforms import Form as NoCsrfForm
|
@ -1,6 +1,6 @@
|
|||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from app import db
|
from xppl import db
|
||||||
from marshmallow import Schema, ValidationError, fields
|
from marshmallow import Schema, ValidationError, fields
|
||||||
from sqlalchemy import Column, DateTime
|
from sqlalchemy import Column, DateTime
|
||||||
|
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |