This repository contains all the necessary files to set up a web-based Visual Studio Code (VSCode) environment running inside a Docker container. It is designed to be easily deployable on any system that has Docker installed, providing a consistent and isolated development environment.
The repository includes the following key components:
.dockerfile
: Defines the Docker image for the VSCode environment, preloaded with Python and data analysis tools..gitignore
: A list of files and directories to be ignored by Git, tailored for Python projects.Docker-compose.yml
: Docker Compose configuration to build and run the VSCode server with the correct settings and volumes.runme.bat
: A Windows batch script for setting up the environment and running the Docker container.runme.sh
: A Unix shell script that performs similar actions asrunme.bat
for Unix-like systems.data/.config and data/code-server
: Kepps you configuration files like setting and ... .data/project
: Is the actual workspace for your projects
- Docker installed on your system.
To set up the environment, clone the repository:
git clone https://github.com/your-username/web-vscode.git
cd web-vscode
Depending on your operating system, use one of the following scripts to start the environment.
Run runme.bat
by double-clicking on it or executing it in a Command Prompt window:
.\runme.bat
Make runme.sh
executable and run it:
chmod +x runme.sh
./runme.sh
Or use Docker Compose directly:
docker-compose up -d
Once the environment is running, open your web browser and go to http://localhost:1988
. When prompted, enter the password:
- URI:
http://localhost:1988
- Password:
imdragon
Modify the .dockerfile
to change the Docker image, the .gitignore
to update files ignored by Git, or the Docker-compose.yml
to adjust the Docker Compose configuration.
If you encounter any issues or have questions, please open an issue in the repository.
Feel free to contribute to this project by submitting pull requests or by reporting bugs and features through the issue tracker.
This project is released under the MIT LICENSE.
For questions and feedback, please open an issue in the repository, and we will get back to you.
Enjoy coding in your web-based VSCode environment!