Compare commits

..

No commits in common. "573d366e97eab7e136d6851f4be251e82b8d7983" and "feacc95628a30893da5a1f7877845ae7d7e11f34" have entirely different histories.

4 changed files with 3 additions and 4 deletions

View File

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

View File

@ -3,7 +3,7 @@ Description=Pleroma2nip05
After=network.target After=network.target
[Service] [Service]
User=nostr User=cgsserver
WorkingDirectory=/opt/pleroma2nip05 WorkingDirectory=/opt/pleroma2nip05
Environment=FLASK_CONFIG=production Environment=FLASK_CONFIG=production
ExecStart=/opt/pleroma2nip05/venv/bin/gunicorn -b localhost:5000 --preload --workers=1 --threads=5 -t 60 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 import psycopg2.extras
from datetime import datetime from datetime import datetime
__VERSION__ = '1.0.0' __VERSION__ = '0.7'
app = Flask('app') app = Flask('app')
print("Pleroma2nip05 v%s" % (__VERSION__)) print("Pleroma2nip05 v%s" % (__VERSION__))

View File

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