Small fixes

pull/1/head
hikariatama 2023-03-23 21:15:27 +00:00
parent 4077010efb
commit 7c4d602b36
3 changed files with 5 additions and 52 deletions

View File

@ -25,54 +25,6 @@ Simply run this command out of <b>root</b> and follow the instructions of instal
<code>apt update && apt install git libcairo2 -y && git clone https://github.com/hikariatama/Hikka && cd Hikka && pip install -r requirements.txt && python3 -m hikka</code><br.>
<i>If you are on VPS\VDS, type <code>--proxy-pass</code> in the end of command to open SSH tunnel to your Hikka web interface, or use <code>--no-web</code> to complete setup in console</i><br>
<br>
<b><a href="https://ide.goorm.io">Goorm</a> installation:</b><br>
<details>
<summary>1. Go to https://ide.goorm.io, click <b>Sign Up</b></summary>
<img src="https://img1.teletype.in/files/c1/0f/c10f7478-1878-4960-9c4e-91ac81c1fd15.png">
</details>
<details>
<summary>2. Click <b>Skip</b></summary>
<img src="https://img4.teletype.in/files/77/a5/77a57aa2-1671-4881-98a3-30aacaad6636.png">
</details>
<details>
<summary>3. Click <b>New container</b></summary>
<img src="https://img2.teletype.in/files/d9/b1/d9b18933-8b91-492b-bf36-b160ee0b6579.png">
</details>
<details>
<summary>4. Press <b>Ctrl+M</b> or click the button <b>Create</b> in the end of page</summary>
<img src="https://img3.teletype.in/files/a1/a8/a1a8e1e3-b6be-444e-be9b-4255e2bf9fa8.png">
</details>
<details>
<summary>5. After the container is created, click <b>Stop</b></summary>
<img src="https://img2.teletype.in/files/15/1b/151b0736-2948-45a4-b72b-adbe1c2b1761.png">
</details>
<details>
<summary>6. Confirm with <b>Stop container</b></summary>
<img src="https://img2.teletype.in/files/92/1b/921b17fb-a9d2-4ee7-82aa-14d2353999ca.png">
</details>
<details>
<summary>7. Turn on <b>Always-on</b></summary>
<img src="https://img1.teletype.in/files/c2/7a/c27ae24f-a9bd-433d-b13a-081ee16b38a9.png">
</details>
<details>
<summary>8. Click <b>Run</b></summary>
<img src="https://img4.teletype.in/files/3a/55/3a55f92d-c188-4769-9070-75e4d90c25d7.png">
</details>
<details>
<summary>9. Paste the command from spoiler to terminal</summary>
<code>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 &)</code>
<img src="https://img1.teletype.in/files/c1/d5/c1d5035a-96ed-4c76-83ee-114becf0e2b3.png">
</details>
<details>
<summary>10. Leave the container to do it's thing and be ready to type <code>2</code> following by <code>Enter</code> in terminal if the content from attached picture occures <b>Run</b></summary>
<img src="https://img1.teletype.in/files/c6/36/c636e420-223b-4818-885e-1d60a17b840e.png">
</details>
<details>
<summary>11. In the end you'll see the link. Follow it and fill in the required data</summary>
<img src="https://img3.teletype.in/files/65/5f/655fb083-0e85-470d-8873-bb971a90b084.png">
<img src="https://img3.teletype.in/files/ef/b1/efb1e78c-9134-4839-b23d-a46f6a4ddc58.png">
</details>
<b>Some further details:</b>
<details>
@ -106,8 +58,7 @@ Simply run this command out of <b>root</b> and follow the instructions of instal
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/680-it-developer-flat.webp" height="54" align="middle"> Documentation</h2>
Check out <a href="https://github.com/hikariatama/Hikka/wiki">Wiki</a> for developers' documentation<br>
User docs will be available soon
Check out <a href="https://dev.hikka.pw">dev.hikka.pw</a> for developers' documentation and <a href="https://hikka.pw">hikka.pw</a> for users' documentation<br>
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/981-consultation-flat.webp" height="54" align="middle"> <a href="https://t.me/hikka_talks">Support</a></h2>

View File

@ -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 \

View File

@ -7,7 +7,6 @@
import json
import logging
import typing
from io import BytesIO
from pathlib import Path
import requests