Skip to content

devbutlazy/LazyWeb

Repository files navigation

LazyWeb // devbutlazy

image

Instalation guide(with Docker):

1 Download and install Python from python.org
2 Download and install git from git-scm.com
3 Download and install docker:

- Ubuntu:
[1] sudo apt install docker.io
[2] sudo curl -L "https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$(uname -s)-$(uname -m)"  -o /usr/local/bin/docker-compose
[3] sudo mv /usr/local/bin/docker-compose /usr/bin/docker-compose
[4] sudo chmod +x /usr/bin/docker-compose
[5] systemctl enable docker
[6] systemctl start docker

- Windows:
[1] Download and install docker from https://www.docker.com/products/docker-desktop/
[2] Read the docs installation guide: https://docs.docker.com/desktop/install/windows-install/

4 Clone this repository and DDrive (using --recursive)

git clone https://github.com/devbutlazy/LazyWeb --recursive

5 Create .env file in src/app/main/config/ and fill out the environmental variables in it:

DB_NAME=database
TELEGRAM_CHAT_ID=
BOT_TOKEN=
BOT_ADMIN_ID=

6 Edit the index.html and images according to you
7 Build the docker-compose

sudo docker-compose up -d --build (linux)

8 Run docker-compose in the background

sudo docker-compose up -d (linux)

9 Manually run the DDrive using Docker manual from README tutorial

After completing the guide, your website should run on http://localhost:8000

TODO:

Feel free to open issues or pull requests if you have encountered any kind of problems.

(c) LazyWeb License: MIT-LICENSE