From 7c4d602b36532b9c8649727c9b540c2b3cbf9a36 Mon Sep 17 00:00:00 2001 From: hikariatama Date: Thu, 23 Mar 2023 21:15:27 +0000 Subject: [PATCH] Small fixes --- README.md | 51 +------------------------------------------ docker.sh | 5 ++++- hikka/translations.py | 1 - 3 files changed, 5 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index c6ca23e..02d9f73 100755 --- a/README.md +++ b/README.md @@ -25,54 +25,6 @@ Simply run this command out of root and follow the instructions of instal apt update && apt install git libcairo2 -y && git clone https://github.com/hikariatama/Hikka && cd Hikka && pip install -r requirements.txt && python3 -m hikka If you are on VPS\VDS, type --proxy-pass in the end of command to open SSH tunnel to your Hikka web interface, or use --no-web to complete setup in console

-Goorm installation:
-
- 1. Go to https://ide.goorm.io, click Sign Up - -
-
- 2. Click Skip - -
-
- 3. Click New container - -
-
- 4. Press Ctrl+M or click the button Create in the end of page - -
-
- 5. After the container is created, click Stop - -
-
- 6. Confirm with Stop container - -
-
- 7. Turn on Always-on - -
-
- 8. Click Run - -
-
- 9. Paste the command from spoiler to terminal - export GOORM="1" && apt update -y && apt upgrade -y && apt install python3.8 git wget -y && git clone https://github.com/hikariatama/Hikka && (wget -qO- https://bootstrap.pypa.io/get-pip.py | python3.8 -) && update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 && update-alternatives --set python /usr/bin/python3.8 && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && update-alternatives --set python3 /usr/bin/python3.8 && update-alternatives --set python /usr/bin/python3.8 && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && update-alternatives --set python3 /usr/bin/python3.8 && alias python3=/usr/bin/python3 && alias python=/usr/bin/python3 && alias pip="python3.8 -m pip" && alias pip3="python3.8 -m pip" && cd Hikka && python3.8 -m pip install -r requirements.txt && (python3.8 -m hikka &) - -
-
- 10. Leave the container to do it's thing and be ready to type 2 following by Enter in terminal if the content from attached picture occures Run - -
-
- 11. In the end you'll see the link. Follow it and fill in the required data - - -
- Some further details:
@@ -106,8 +58,7 @@ Simply run this command out of root and follow the instructions of instal

Documentation

-Check out Wiki for developers' documentation
-User docs will be available soon +Check out dev.hikka.pw for developers' documentation and hikka.pw for users' documentation

Support

diff --git a/docker.sh b/docker.sh index 98bfe4e..31dd373 100644 --- a/docker.sh +++ b/docker.sh @@ -3,9 +3,12 @@ PORT=3429 # Port to run the server on echo "EXTERNAL_PORT=$PORT" >.env +eval "mkdir Hikka" +cd Hikka + touch hikka-install.log -if ! [ -x "$(command -v docker)" ]; then +if ! [ -x "$(command -v docker-compose)" ]; then printf "\033[0;34mInstalling docker...\e[0m" if [ -f /etc/debian_version ]; then sudo apt-get install \ diff --git a/hikka/translations.py b/hikka/translations.py index 5ef71eb..2c5c4ab 100755 --- a/hikka/translations.py +++ b/hikka/translations.py @@ -7,7 +7,6 @@ import json import logging import typing -from io import BytesIO from pathlib import Path import requests