Update README with Docker container workflow

This commit is contained in:
2025-03-18 08:57:51 +01:00
parent b7cbf7dd14
commit aac6015986

View File

@ -16,9 +16,7 @@ For Windows users, the following are required:
## Clone the Repository ## Clone the Repository
Open a **Git Bash** terminal. Open **Git Bash** and run:
1. Navigate to your GitLab folder, clone the repository, and navigate to the `acsmnode` folder:
```bash ```bash
cd GitLab cd GitLab
@ -26,11 +24,24 @@ Open a **Git Bash** terminal.
cd acsmnode cd acsmnode
``` ```
### Set Up the Python Environment ## Run the Data Chain App
Skip this step if the **Git Bash** terminal already has access to a suitable Python interpreter. 1. Open **PowerShell as Administrator** and navigate to the `acsmnode` repository.
2. Open **Docker Desktop**, then build the container image:
```bash
docker build -t datachain_processor .
```
3. Run the app:
```bash
bash run_container.sh
```
4. Access:
- **Jupyter Lab**: [http://localhost:8889/lab/tree/notebooks/](http://localhost:8889/lab/tree/notebooks/)
- **Data Flagging App**: [http://localhost:8050/](http://localhost:8050/)
Otherwise, set up an appropriate Python interpreter by running the following command: ## Set Up the Python Environment
If **Git Bash** lacks a suitable Python interpreter, run:
```bash ```bash
bash env_setup.sh bash env_setup.sh