Compare commits

...

3 Commits

Author SHA1 Message Date
Guy Van Sanden 573d366e97 Run as nostr 2023-03-07 15:01:17 +01:00
Guy Van Sanden d8dbd97714 Add gunicorn 2023-03-07 14:52:20 +01:00
Guy Van Sanden 0406be22b8 Bump version 2023-03-07 14:50:04 +01:00
4 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ module.exports = function(grunt) {
},
python: {
options: {
prefix: '__version__\\s*=\\s*\"'
prefix: '__VERSION__\\s*=\\s*\''
},
src: [ 'src/*.py' ],
}

View File

@ -3,7 +3,7 @@ Description=Pleroma2nip05
After=network.target
[Service]
User=cgsserver
User=nostr
WorkingDirectory=/opt/pleroma2nip05
Environment=FLASK_CONFIG=production
ExecStart=/opt/pleroma2nip05/venv/bin/gunicorn -b localhost:5000 --preload --workers=1 --threads=5 -t 60

View File

@ -11,7 +11,7 @@ import psycopg2
import psycopg2.extras
from datetime import datetime
__VERSION__ = '0.7'
__VERSION__ = '1.0.0'
app = Flask('app')
print("Pleroma2nip05 v%s" % (__VERSION__))

View File

@ -2,3 +2,4 @@ flask==2.2.3
pyjson==1.3.0
psycopg2==2.9.5
pyaml==21.10.1
gunicorn==20.1.0