alterware: our changes
This commit is contained in:
parent
22828a1fc8
commit
061e7fb96e
14
config.json
14
config.json
@ -2,14 +2,14 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"appname": "vxTwitter",
|
"appname": "vxTwitter",
|
||||||
"color": "#1DA1F2",
|
"color": "#1DA1F2",
|
||||||
"database": "[url to mongo database goes here]",
|
"database": "mongodb://localhost:27017/bettervxtwitter",
|
||||||
"link_cache": "ram",
|
"link_cache": "db",
|
||||||
"method": "hybrid",
|
"method": "hybrid",
|
||||||
"repo": "https://github.com/dylanpdx/BetterTwitFix",
|
"repo": "https://git.alterware.dev/alterware/BetterTwitFix",
|
||||||
"table": "[database table here]",
|
"table": "links",
|
||||||
"url": "https://vxtwitter.com",
|
"url": "https://girlcock.alterware.dev",
|
||||||
"combination_method": "local",
|
"combination_method": "local",
|
||||||
"gifConvertAPI": "local",
|
"gifConvertAPI": "local",
|
||||||
"workaroundTokens":null
|
"workaroundTokens": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -486,4 +486,4 @@ def oEmbedGen(description, user, video_link, ttype,providerName=None):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.config['SERVER_NAME']='localhost:80'
|
app.config['SERVER_NAME']='localhost:80'
|
||||||
app.run(host='0.0.0.0')
|
app.run(host='0.0.0.0', port=8080)
|
||||||
|
@ -3,11 +3,11 @@ Description=Init file for twitfix uwsgi instance
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=dylan
|
User=carbonara
|
||||||
Group=dylan
|
Group=carbonara
|
||||||
WorkingDirectory=/home/dylan/BetterTwitFix
|
WorkingDirectory=/home/carbonara/twitter/BetterTwitFix
|
||||||
Environment="PATH=/home/dylan/BetterTwitFix/venv/bin"
|
Environment="PATH=/home/carbonara/twitter/BetterTwitFix/venv/bin"
|
||||||
ExecStart=/home/dylan/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini
|
ExecStart=/home/carbonara/twitter/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user