DockerWebTerminal is a web-based terminal application built using Python's Flask-Sockets and Vue.js. This application provides a terminal interface accessible via a web browser, ideal for managing servers or running command-line tasks remotely.
To quickly set up DockerWebTerminal with automatic configuration, follow these steps:
-
Clone the Repository:
git clone https://github.com/shreerambhakthhu/dockerwebterminalflask.git
-
Navigate to the Script Directory:
cd dockerwebterminalflask/script
-
Run the Installation Script:
bash installscript
This script will install the necessary dependencies, including Nginx, and configure Flask-Vue-Term.
-
Access the Application:
Once the installation is complete, navigate to your domain name or IP address in your web browser to access DockerWebTerminal.
If you prefer to set up DockerWebTerminal manually, follow these instructions:
-
Install Python Dependencies:
pip3 install -r requirements.txt
-
Run the Application:
python3 main.py
The application will start and be accessible at
http://localhost:5000
in your browser. -
Customize Port and Host (Optional):
To run the server on a different port or host address, use the following command:
python3 main.py --host 0.0.0.0 --port 8000
This will start the server on port
8000
and make it accessible from any IP address.
After installation, open your web browser and navigate to the specified address. You will be presented with a web-based terminal interface where you can execute commands just like you would in a traditional terminal.
Feel free to contribute to the project by submitting issues or pull requests. We welcome improvements and feedback.
This project is licensed under the MIT License.
For more details or support, please refer to the GitHub Issues page.