|
@@ -34,7 +34,7 @@ MICROBLOGPUB_DOMAIN_NAME=
|
34
|
34
|
MICROBLOGPUB_CODE=
|
35
|
35
|
MICROBLOGPUB_ONION_PORT=9261
|
36
|
36
|
MICROBLOGPUB_REPO="https://github.com/tsileo/microblog.pub"
|
37
|
|
-MICROBLOGPUB_COMMIT='848b8b23a8765d86bab2830c8d65d6b37337d03b'
|
|
37
|
+MICROBLOGPUB_COMMIT='791e55c7f5eee26792b90b94668d5f0dbbc767f9'
|
38
|
38
|
MICROBLOGPUB_PORT_INTERNAL=5005
|
39
|
39
|
|
40
|
40
|
# These parameters are used by the FreedomBox mobile app
|
|
@@ -310,6 +310,8 @@ function remove_microblogpub {
|
310
|
310
|
}
|
311
|
311
|
|
312
|
312
|
function install_microblogpub {
|
|
313
|
+ apt-get -yq install python3-pip python3-flask
|
|
314
|
+
|
313
|
315
|
install_mongodb
|
314
|
316
|
|
315
|
317
|
if [ ! "$MICROBLOGPUB_DOMAIN_NAME" ]; then
|
|
@@ -338,11 +340,11 @@ function install_microblogpub {
|
338
|
340
|
git checkout "$MICROBLOGPUB_COMMIT" -b "$MICROBLOGPUB_COMMIT"
|
339
|
341
|
set_completion_param "microblogpub commit" "$MICROBLOGPUB_COMMIT"
|
340
|
342
|
|
341
|
|
- pip install -r requirements.txt
|
|
343
|
+ pip3 install -r requirements.txt
|
342
|
344
|
|
343
|
345
|
{ echo 'import sass';
|
344
|
346
|
echo "sass.compile(dirname=('sass', 'static/css'), output_style='compressed')"; } > generate_css.py
|
345
|
|
- python generate_css.py
|
|
347
|
+ python3 generate_css.py
|
346
|
348
|
|
347
|
349
|
{ echo "username: '$MY_USERNAME'";
|
348
|
350
|
echo "name: '$MY_NAME'";
|