If you need to follow the instructions in this document, you need to meet the following conditions:

1. Deploy on Linux system

2. Do not have MySQL and Redis already deployed

The Bee-Hole e-commerce independent site system supports deployment on Linux using Docker. Just execute one command to complete the deployment of MySQL, Redis, and Bee-Hole system. The process is as follows:

1. Execute the following command in the shell

curl -fsSL https://mg.bee-hole.com/install-docker/init.sh | bash

2. This program will first check dependencies such as Docker and jq and install them, then automatically start the containers. The script will display the frontend and backend addresses as well as the admin account upon completion. If there is an error during execution, follow the error prompts to resolve it.

3. Then execute the command to view the containers that have been started

docker ps

4. View the logs of the container

docker logs -f beehole_server

5. Access the deployed backend and e-commerce frontend

6. Use Nginx or similar to map the ports and domain name provided by the container

7. Access the domain name to view the frontend effect

8. To upgrade in the future, simply execute the install.sh script in the directory